]>
git.sesse.net Git - ffmpeg/log
Clément Bœsch [Sun, 2 Dec 2012 18:52:33 +0000 (19:52 +0100)]
fate: add gradfun filter test.
Clément Bœsch [Sun, 2 Dec 2012 16:15:01 +0000 (17:15 +0100)]
fate: add hqdn3d filter test.
Clément Bœsch [Tue, 4 Dec 2012 22:56:00 +0000 (23:56 +0100)]
lavfi/subtitles: 10l close codec before format.
Fix invalid memory accesses.
Anton Khirnov [Tue, 13 Nov 2012 18:35:22 +0000 (19:35 +0100)]
lavc: fix decode_frame() third parameter semantics for video decoders
It's got_frame, not data size
Anton Khirnov [Mon, 12 Nov 2012 19:01:32 +0000 (20:01 +0100)]
lavc: factorise setting buffer type in avcodec_default_get_buffer().
Anton Khirnov [Mon, 12 Nov 2012 18:56:55 +0000 (19:56 +0100)]
lavc: don't reuse audio buffers
Any performance gain from this is negligible and not worth the extra
code.
Anton Khirnov [Sun, 11 Nov 2012 08:14:07 +0000 (09:14 +0100)]
lavc: set frame properties in ff_get_buffer().
There is no point in duplicating this code in every get_buffer()
implementation.
Anton Khirnov [Sat, 10 Nov 2012 12:22:56 +0000 (13:22 +0100)]
lavc: add a wrapper for AVCodecContext.get_buffer().
It will be useful in the upcoming transition to refcounted AVFrames.
Anton Khirnov [Sat, 20 Oct 2012 13:22:41 +0000 (15:22 +0200)]
Remove pointless #undefs of previously forbidden functions.
Nicolas George [Tue, 4 Dec 2012 18:49:51 +0000 (19:49 +0100)]
lavf: compute probe buffer size more reliably.
The previous code computes the offset by reversing the growth
of the allocated buffer size: it is complex and did lead to
inconsistencies when the size limit is reached.
Fix trac ticket #1991.
Nicolas George [Sun, 2 Dec 2012 18:58:39 +0000 (19:58 +0100)]
lavfi/drawtext: add the reload option.
Michael Niedermayer [Tue, 4 Dec 2012 16:54:14 +0000 (17:54 +0100)]
lavf: the core rfps code needs 2 durations to estimate rfps
This fixes a regression where this count became 1 with
HPM-GC\ EXPORT\ FCP-1A-AVCI100-1080i25-001.mxf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Tue, 4 Dec 2012 17:01:27 +0000 (17:01 +0000)]
av_register_protocol is gone :(
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Tue, 4 Dec 2012 15:50:33 +0000 (15:50 +0000)]
rawvideodec: set bit rate
Fixes #1989.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Clément Bœsch [Tue, 4 Dec 2012 15:40:11 +0000 (16:40 +0100)]
ffmpeg: small indent fix.
Michael Niedermayer [Tue, 4 Dec 2012 15:25:21 +0000 (16:25 +0100)]
ffmpeg: use the correct variables in do_video_stats()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Thierry Foucu [Tue, 4 Dec 2012 06:01:38 +0000 (22:01 -0800)]
Update video stats log during encode flush
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Sat, 1 Dec 2012 11:37:18 +0000 (11:37 +0000)]
gifdec: do not handle timestamps
It is broken, and results will be messed up when seeking.
This also fix duration displayed for streams when using -c copy.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Carl Eugen Hoyos [Tue, 4 Dec 2012 14:52:37 +0000 (15:52 +0100)]
Add debug output when skipping unknown swf tags.
Reviewed-by: Clément Bœsch
Diego Biurrun [Wed, 28 Nov 2012 16:06:04 +0000 (17:06 +0100)]
fate: Add dependencies for bmp, cdxl, dfa, mp3
Michael Niedermayer [Tue, 4 Dec 2012 13:23:22 +0000 (14:23 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
ppc: always use pic for shared libraries
build: cosmetics: Move CONFIG_RTPDEC entry to a more suitable place
fate: ea, h264: prettyprinting and ordering cosmetics
Conflicts:
tests/fate/ea.mak
tests/fate/h264.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Tue, 4 Dec 2012 12:42:50 +0000 (12:42 +0000)]
auenc: remove pointless assigment
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Tue, 4 Dec 2012 11:59:46 +0000 (11:59 +0000)]
mmf: return meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
James Almer [Thu, 29 Nov 2012 16:14:50 +0000 (13:14 -0300)]
AST Muxer
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 29 Nov 2012 16:12:33 +0000 (13:12 -0300)]
ast: Rename ast.c -> astdec.c
Signed-off-by: James Almer <jamrial@gmail.com>
Peter Ross [Sun, 25 Nov 2012 04:12:56 +0000 (15:12 +1100)]
iff demuxer: include DEEP TVDC lookup table in extradata buffer
Signed-off-by: Peter Ross <pross@xvid.org>
Peter Ross [Fri, 23 Nov 2012 06:29:49 +0000 (17:29 +1100)]
iff decoder: DEEP TVDC 32-bit decoder
Signed-off-by: Peter Ross <pross@xvid.org>
Michael Niedermayer [Tue, 4 Dec 2012 04:35:11 +0000 (05:35 +0100)]
configure: Fix ARM thumb detection
The detection detects the default but not if it even works.
Check building a simple piece of code and disable thumb if it fails
This fixes a compile failure
If someone has a better idea, just replace this by it!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 4 Dec 2012 02:30:40 +0000 (03:30 +0100)]
matroskadec: reset size when freeing data.
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Tue, 4 Dec 2012 02:45:52 +0000 (03:45 +0100)]
lavfi/mp: fix invalid read with filters with no argument.
Clément Bœsch [Sun, 2 Dec 2012 01:21:44 +0000 (02:21 +0100)]
lavfi/removelogo: switch to ff_filter_frame.
Clément Bœsch [Thu, 29 Nov 2012 02:28:37 +0000 (03:28 +0100)]
lavfi: add subtitles filter.
Luca Barbato [Mon, 3 Dec 2012 21:53:30 +0000 (22:53 +0100)]
ppc: always use pic for shared libraries
CC: libav-stable@libav.org
Clément Bœsch [Mon, 3 Dec 2012 20:47:01 +0000 (21:47 +0100)]
lavfi: remove some video w/h settings after avfilter_copy_buffer_ref_props.
video->[wh] will be set with the same values as the input after
avfilter_copy_buffer_ref_props. These filters don't change the size of
the input so there is no need for this code.
Clément Bœsch [Mon, 3 Dec 2012 19:38:27 +0000 (20:38 +0100)]
lavfi/gradfun: remove check for AV_PERM_PRESERVE.
This check does not make sense in this context, see
doc/filter_design.txt for details about the usage of such flag.
Reimar Döffinger [Wed, 28 Nov 2012 15:39:07 +0000 (16:39 +0100)]
libspeex: allow custom sample rates again.
This was broken by
3b061c5e10f78caaf3b2a45cf7a92e50d4d20bfb
Fixes trac issue #1974.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diego Biurrun [Thu, 29 Nov 2012 18:20:56 +0000 (19:20 +0100)]
build: cosmetics: Move CONFIG_RTPDEC entry to a more suitable place
Michael Niedermayer [Mon, 3 Dec 2012 16:34:38 +0000 (17:34 +0100)]
mpegts: check that codec is not open in mpegts_find_stream_type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 3 Dec 2012 16:29:56 +0000 (17:29 +0100)]
mpegts_set_stream_info: remove unneeded codec id check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 3 Dec 2012 16:27:19 +0000 (17:27 +0100)]
ff_mp4_read_dec_config_descr: check that the codec is not open
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Peter Ross [Mon, 3 Dec 2012 11:27:08 +0000 (22:27 +1100)]
doc: describe micro versioning policy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Mon, 3 Dec 2012 15:21:19 +0000 (15:21 +0000)]
takdec: add .sample_fmts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 3 Dec 2012 15:13:35 +0000 (15:13 +0000)]
shorten: update .sample_fmts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diego Biurrun [Wed, 28 Nov 2012 16:54:07 +0000 (17:54 +0100)]
fate: ea, h264: prettyprinting and ordering cosmetics
Michael Niedermayer [Mon, 3 Dec 2012 14:28:35 +0000 (15:28 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
configure: Strip ordinals from mingw generated def files
configure: arm: detect default thumb state of compiler
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sun, 4 Nov 2012 14:45:09 +0000 (15:45 +0100)]
lswr/swresample: use AV_OPT_TYPE_SAMPLE_FMT for sample format options
Improve usability and robustness.
Martin Storsjö [Sat, 17 Nov 2012 14:34:54 +0000 (16:34 +0200)]
configure: Strip ordinals from mingw generated def files
The def files are used for generating import libraries for
other toolchains (in particular, for generating import libraries
for MSVC for DLLs built with mingw).
The def files produced by mingw/gcc contains ordinals for each
exported function. When MSVC tools generate import libraries
from such a def file, MSVC links to the DLL by the ordinals
instead of linking by name.
Since the def files aren't maintained by hand, the ordinal
numbers are assigned (more or less) randomly and any caller
linking to the libs by ordinals will break as soon as the libraries
export more/fewer functions.
Therefore, strip out the ordinals from the generated def files,
to make users link to the libraries by name.
Callers linking to the DLLs using the gcc provided import library
link by name as they should.
Signed-off-by: Martin Storsjö <martin@martin.st>
Mans Rullgard [Fri, 30 Nov 2012 21:58:42 +0000 (21:58 +0000)]
configure: arm: detect default thumb state of compiler
This makes configure honour the compiler default if thumb is not
explicitly enabled or disabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Piotr Bandurski [Mon, 3 Dec 2012 10:03:27 +0000 (10:03 +0000)]
ra144enc: reject unsupported sample rates
Michael Niedermayer [Mon, 3 Dec 2012 02:15:41 +0000 (03:15 +0100)]
fate: fix typos in wtv seek test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 3 Dec 2012 01:59:19 +0000 (02:59 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
fate: fft: Fix libavcodec dependency
build: Make the ISMV muxer select the MOV muxer
configure: move arm arch extensions to a separate variable
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 3 Dec 2012 01:21:08 +0000 (02:21 +0100)]
Merge commit '
e816034a5fa131b13c4ad87bb0b5065b4f5697c6 '
* commit '
e816034a5fa131b13c4ad87bb0b5065b4f5697c6 ':
fate-seek: remove use of gnu make 3.82 only private modifier
fate: move vsynth reference files to their own directory
fate: move fate-acodec reference files to their own dir
configure: avplay now depends on avresample
fate: split dependencies for fate-seek tests
Conflicts:
configure
tests/fate/seek.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 3 Dec 2012 00:56:47 +0000 (01:56 +0100)]
Merge commit '
0b300daad2f5cb59a7c06dde5ac701685e6edf16 '
* commit '
0b300daad2f5cb59a7c06dde5ac701685e6edf16 ':
h264: error out on unset current_picture_ptr for h->current_slice > 0
avprobe: report per stream bit rate if set by the decoder
aac: avoid a memcpy in sbr_qmf_analysis
Conflicts:
avprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 3 Dec 2012 00:26:23 +0000 (01:26 +0100)]
vp56: Ignore reconfiguration from the alpha plane.
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Wed, 28 Nov 2012 23:22:25 +0000 (00:22 +0100)]
fate: fft: Fix libavcodec dependency
Diego Biurrun [Sat, 1 Dec 2012 16:56:00 +0000 (17:56 +0100)]
build: Make the ISMV muxer select the MOV muxer
They share the same code, so building one w/o the other makes no sense.
Mans Rullgard [Sat, 1 Dec 2012 12:26:12 +0000 (12:26 +0000)]
configure: move arm arch extensions to a separate variable
Signed-off-by: Mans Rullgard <mans@mansr.com>
Janne Grunau [Sun, 2 Dec 2012 23:37:07 +0000 (00:37 +0100)]
fate-seek: remove use of gnu make 3.82 only private modifier
Janne Grunau [Sun, 2 Dec 2012 23:36:10 +0000 (00:36 +0100)]
fate: move vsynth reference files to their own directory
Janne Grunau [Sun, 2 Dec 2012 23:29:35 +0000 (00:29 +0100)]
fate: move fate-acodec reference files to their own dir
Diego Biurrun [Wed, 28 Nov 2012 23:14:23 +0000 (00:14 +0100)]
configure: avplay now depends on avresample
Janne Grunau [Sun, 2 Dec 2012 19:31:20 +0000 (20:31 +0100)]
fate: split dependencies for fate-seek tests
Each fate-seek test depends now only on the corresponding fate-acodec,
fate-vsynth2 or fate-lavf test which creates the file seek-tests
operates on. The tests and references are renamed to match the test they
depend on.
Janne Grunau [Wed, 21 Nov 2012 18:41:59 +0000 (19:41 +0100)]
h264: error out on unset current_picture_ptr for h->current_slice > 0
Fixes a segfault with fuzzed sample sample_varPAR_s11622_r001-02.avi.
CC: libav-stable@libav.org
Janne Grunau [Fri, 30 Nov 2012 14:44:19 +0000 (15:44 +0100)]
avprobe: report per stream bit rate if set by the decoder
Michael Niedermayer [Sun, 2 Dec 2012 21:36:15 +0000 (22:36 +0100)]
wtvdec: fix null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Christophe Gisquet [Wed, 28 Nov 2012 21:47:25 +0000 (22:47 +0100)]
aac: avoid a memcpy in sbr_qmf_analysis
Swapping buffer indices allows saving one memcpy that accounts for 1% of the
runtime, according to oprofile.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Michael Niedermayer [Sun, 2 Dec 2012 19:37:09 +0000 (20:37 +0100)]
asfdec: check extradata size before alloc and read
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 2 Dec 2012 19:36:32 +0000 (20:36 +0100)]
h264: check for integer overflow, fix null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Wed, 28 Nov 2012 11:05:24 +0000 (12:05 +0100)]
lavu/channel_layout: document the semantic of layouts.
Stefano Sabatini [Sun, 2 Dec 2012 17:13:49 +0000 (18:13 +0100)]
lavfi/bbox: switch to ff_filter_frame() API
Stefano Sabatini [Sun, 2 Dec 2012 17:03:04 +0000 (18:03 +0100)]
lavfi/alphamerge: fix leak introduced in
217163eb
Paul B Mahol [Sat, 1 Dec 2012 12:36:16 +0000 (12:36 +0000)]
gifdec: read pixel aspect ratio
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Nicolas George [Sun, 2 Dec 2012 16:08:17 +0000 (17:08 +0100)]
lavfi/vf_super2xsai: fix output ref size.
Stefano Sabatini [Sun, 2 Dec 2012 01:02:47 +0000 (02:02 +0100)]
lavfi/framestep: switch to ff_filter_frame API
Stefano Sabatini [Sun, 2 Dec 2012 00:53:02 +0000 (01:53 +0100)]
lavfi/super2xsai: switch to ff_filter_frame() API
Clément Bœsch [Sun, 2 Dec 2012 00:11:48 +0000 (01:11 +0100)]
lavfi/hue: move to ff_filter_frame.
Clément Bœsch [Sun, 2 Dec 2012 00:49:59 +0000 (01:49 +0100)]
fate: add hue filter test.
Nicolas George [Thu, 29 Nov 2012 16:13:06 +0000 (17:13 +0100)]
lavfi/vf_tile: forward errors.
Nicolas George [Thu, 29 Nov 2012 16:10:05 +0000 (17:10 +0100)]
lavfi/vf_tile: cosmetic after last commit.
Nicolas George [Thu, 29 Nov 2012 16:08:30 +0000 (17:08 +0100)]
lavfi/vf_tile: switch to filter_frame.
Also add error check on buffer allocation.
Michael Niedermayer [Sun, 2 Dec 2012 12:47:07 +0000 (13:47 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
configure: fix indentation in option parsing loop
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sun, 2 Dec 2012 00:20:31 +0000 (01:20 +0100)]
lavfi/decimate: switch to ff_filter_frame() API
Stefano Sabatini [Sun, 2 Dec 2012 00:11:52 +0000 (01:11 +0100)]
lavfi/alphamerge: switch to ff_filter_frame() API
Stefano Sabatini [Sat, 1 Dec 2012 23:58:59 +0000 (00:58 +0100)]
lavfi/blackdetect: switch to new ff_filter_frame() API
Nicolas George [Sat, 1 Dec 2012 15:58:51 +0000 (16:58 +0100)]
lavu/parseutils: accept %J for hours >= 24.
Allow to parse durations >= 24:00:00.
Michael Niedermayer [Sun, 2 Dec 2012 03:21:42 +0000 (04:21 +0100)]
mpc8: check seektable size before attempting to use it.
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 2 Dec 2012 03:00:50 +0000 (04:00 +0100)]
dcadec: fix reading from prior to an array
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sun, 2 Dec 2012 01:53:22 +0000 (02:53 +0100)]
lavfi/hqdn3d: avoid use of uninitialized variable.
Clément Bœsch [Sun, 2 Dec 2012 01:25:09 +0000 (02:25 +0100)]
lavfi/gradfun: avoid use of uninitialized variable.
Michael Niedermayer [Sat, 1 Dec 2012 22:20:48 +0000 (23:20 +0100)]
xxan: more complete ybuf checks, fix out of array accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Sat, 1 Dec 2012 23:43:39 +0000 (00:43 +0100)]
Add FourCC V264 for H264 in CCTV recordings.
Clément Bœsch [Sat, 1 Dec 2012 00:24:21 +0000 (01:24 +0100)]
lavfi/vsrc: switch to ff_filter_frame.
Mans Rullgard [Thu, 29 Nov 2012 18:03:50 +0000 (18:03 +0000)]
configure: fix indentation in option parsing loop
Signed-off-by: Mans Rullgard <mans@mansr.com>
Clément Bœsch [Fri, 23 Nov 2012 21:47:51 +0000 (22:47 +0100)]
lavf/assdec: return appropriate error code instead of -1.
Clément Bœsch [Fri, 23 Nov 2012 21:47:09 +0000 (22:47 +0100)]
lavf/assdec: add ass_ prefix to callbacks.
Clément Bœsch [Fri, 23 Nov 2012 21:45:05 +0000 (22:45 +0100)]
lavf/assdec: rewrite using the demux subtitles API.
Clément Bœsch [Fri, 23 Nov 2012 20:43:54 +0000 (21:43 +0100)]
lavf: use ff_subtitles_queue_seek() for text subtitles demuxers.
Clément Bœsch [Fri, 30 Nov 2012 06:00:59 +0000 (07:00 +0100)]
lavf/subtitles: seek a little more backward when necessary.
If some previous subtitles are overlapping with the current time
we make sure they are raised so the renderer can display them too.
Clément Bœsch [Fri, 23 Nov 2012 20:40:46 +0000 (21:40 +0100)]
lavf/subtitles: add ff_subtitles_queue_seek().
This function is almost identical to lavf/assdec:read_seek2(). It
performs a generic seek for text subtitles demuxers for the new seeking
API.
The only difference with assdec:read_seek2 is the ts_diff being
unsigned to avoid overflows.
The seek callback in the ASS demuxer will be removed when it is
redesigned to use FFDemuxSubtitlesQueue.
Clément Bœsch [Fri, 23 Nov 2012 20:11:49 +0000 (21:11 +0100)]
ffmpeg: use avformat_seek_file() instead of av_seek_frame().
avformat_seek_file() is the new API. It will make sure the read_seek2()
callback is called when the demuxer has it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Clément Bœsch <ubitux@gmail.com>