Piotr Bandurski
3800facac6
riff: add G723_1 wav tag
...
Reveiwed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Marton Balint
b99e9ee938
ac3dec: set decode_error_flags field in ac3 codec
...
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Marton Balint
016a472009
avcodec: add decode_error_flags field to AVFrame
...
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
296c1b6bd1
libcaca output device
13 years ago
Michael Niedermayer
3c033d00f5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
libopenjpeg: introduce lowres and lowqual private options
FATE: add a test for flac cover art.
cafdec: allow larger ALAC magic cookie
alac: fix channel pointer assignment for 24 and 32-bit
Conflicts:
libavcodec/alac.c
libavcodec/libopenjpegdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
85761efa95
tiertexseq: remove redundant string from log message
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Anton Khirnov
4c9080a7ef
lavfi: unref AVFilterLink.out_buf in ff_end_frame().
...
This reduces code duplication and prevents stale pointers from remaining
on the link.
13 years ago
Nicolas George
fd58678b86
v4l2: remove call to v4l2_fd_open.
...
v4l2_fd_open is already called at the end of v4l2_open;
calling a second time leaks structures inside libv4l2.
Fix trac ticket #1560 .
13 years ago
Anton Khirnov
07bad27810
lavfi: unref AVFilterLink.cur_buf in ff_end_frame().
...
This reduces code duplication and prevents stale pointers from remaining
on the link.
13 years ago
Anton Khirnov
533fd5b5b4
vsrc_testsrc: avoid an unnecessary avfilter_ref_buffer().
13 years ago
Anton Khirnov
5b50ae94e6
vf_slicify: clear AVFilterLink.cur_buf in start_frame().
...
The buffer is passed on to the next filter, so we shouldn't keep any
pointers to it.
13 years ago
Anton Khirnov
0393af4f0b
vf_settb: simplify start_frame().
...
Avoid pointless filter ref/unref. Just use the reference passed to
start_frame().
13 years ago
Anton Khirnov
9203fa0b32
vf_fieldorder: don't give up its own reference to the output buffer.
13 years ago
Anton Khirnov
f493c644cd
vf_pad: don't give up its own reference to the output buffer.
13 years ago
Anton Khirnov
ad8b6326aa
vf_overlay: don't access a buffer reference that's been given away.
13 years ago
Anton Khirnov
7155763b78
vf_drawtext: don't give up its own reference to the input buffer.
...
Directly forwarding the input buffer to the next filter means that
drawtext no longer owns any references to it and thus shouldn't refer to
it in any way.
13 years ago
Anton Khirnov
d19499c796
vf_gradfun: don't store two pointers to one AVFilterBufferRef.
13 years ago
Anton Khirnov
0fe010a36f
vf_delogo: don't store two pointers to one AVFilterBufferRef.
13 years ago
Anton Khirnov
51a8049be8
vf_aspect: clear AVFilterLink.cur_buf in start_frame().
...
The buffer is passed on to the next filter, so we shouldn't keep any
pointers to it.
13 years ago
Robert Nagy
b70d89a033
lavfi: add avfilter_unref_bufferp()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
b040ffc84c
exr: display warning if multiple compression attributes are found
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
01f76a779c
exr: merge common code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
a2dab7512e
exr: compression attribute is mandatory
...
Do not continue decoding if one is missing.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
chinshou
55de89e25d
cmdutils/alloc_buffer: fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joseph Artsimovich
99c4e91dfa
dnxhd: Fix 10-bit DNxHD quant matrices
...
Convert them to zigzag order, as the rest of them are.
When I was adding support for 10-bit DNxHD, I just copy-pasted the
missing quant matrices from the spec. Now it turns out the existing
matrices in dnxhddata.c were in zigzag order. This resulted in wrong
quantization for 10-bit DNxHD. The attached patch fixes the problem by
converting 10-bit quant matrices to zigzag order.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a4f94f24b4
udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined
...
This happens with for example mplayer.
Fixing it in ffmpeg allows new ffmpeg to be compiled with older mplayer
which would not be possible if the fix was just in mplayer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7c6ebe2b97
alac: drop packed sample output support with the next major bump
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
ce64e5bfd1
libopenjpeg: introduce lowres and lowqual private options
...
OpenJPEG can decode in lower resolution or decode only a number
of enhancement layers.
13 years ago
Nicolas George
cb6a20fa56
lavfi: add FF_*LINK_IDX convenience macros.
13 years ago
Nicolas George
461f506f7b
lavc: set best_effort_timestamp for audio too.
13 years ago
Nicolas George
97f86680eb
lavfi: make copy_buffer_ref common.
13 years ago
Nicolas George
b0629366a2
lavf: make cmdutils's check_stream_specifier public.
...
The new function is called avformat_match_stream_specifier()
and does not include logging the error message.
13 years ago
Stefano Sabatini
3bd3e46c91
doc/avtools-common-opts: fix a few typos in the "Stream specifiers" section
13 years ago
Nicolas George
b34ce5a26b
faq: explain dependency problems with static libs.
13 years ago
Nicolas George
30549294ef
matroska: add support for Opus.
...
Opus in Matroska is still a draft.
13 years ago
Nicolas George
a6cf296bd9
lavc: Opus decoder using libopus.
13 years ago
Nicolas George
e62fd6619f
oggdec: add support for Opus codec.
...
This patch also introduces CODEC_ID_OPUS.
13 years ago
Nicolas George
bf8ce5a5c3
ffmpeg: probe buffersinks once more after EOF.
...
Reap buffers stored in the buffer sinks even when
the avfilter_graph_request_oldest() loop only returns EOF.
avfilter_graph_request_oldest() can cause frames to arrive
to the sinks even when it returns EOF.
13 years ago
Anton Khirnov
5eb9c495af
FATE: add a test for flac cover art.
13 years ago
Michael Niedermayer
5e99df019a
alacdec: several players have problems with planar audio still thus temporary put packed output back by default
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e2c96fbf3e
ffplay: fix warning that i just mistakenly introduced
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cdafec69ce
ffplay: fix planar audio
...
This caused ALAC to fail since the last merge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
1749e12f45
cafdec: allow larger ALAC magic cookie
...
It already skips any extra bytes at the end, and apparently there are some
samples in the wild with larger 'kuki' chunks.
13 years ago
Justin Ruggles
4cd22b7738
alac: fix channel pointer assignment for 24 and 32-bit
...
Needs to be done separately for each element.
13 years ago
Stefano Sabatini
7e17389c1e
lavd/sdl: use verb in options help message
...
An help message tells what an option does, not what its argument is.
13 years ago
Nicolas George
885fc05865
lavf: count skipped samples for initial timestamps.
...
If skip_samples is set and timestamps are synthesized using durations,
make them start at -skip_samples (rescaled) instead of 0,
so that the timestamp of the first undiscarded sample is 0.
13 years ago
Nicolas George
cd08900393
lavc: update pkt_duration for skipped samples.
...
Also: factor the the computation of the timestamp difference.
13 years ago
Nicolas George
d853ed46b1
Revert "ffmpeg: set pkt_timebase"
...
This reverts commit 744bd8d08c
.
pkt_timebase is now set by av_codec_set_pkt_timebase.
If some demuxer set AVStream.time_base directly,
it need to be fixed. There is a warning to detect it.
13 years ago
Nicolas George
0e57d79b0c
lavf: set pkt_timebase at the same time as stream->time_base.
13 years ago
Nicolas George
0e18ac5611
lavc: warn when impossible to adjust timestamps for skipped samples.
...
It is likely to happen if pkt_timebase was not set.
13 years ago