OSDN Git Service

android-x86/external-ffmpeg.git
11 years agoAdd examples/resampling_audio to .gitignore.
Clément Bœsch [Thu, 6 Dec 2012 11:12:48 +0000 (12:12 +0100)]
Add examples/resampling_audio to .gitignore.

11 years agodoc/decoders: fix typo in "@Options"
Stefano Sabatini [Thu, 6 Dec 2012 09:16:10 +0000 (10:16 +0100)]
doc/decoders: fix typo in "@Options"

11 years agoexamples: add resampling_audio.c file
Stefano Sabatini [Fri, 30 Nov 2012 12:51:40 +0000 (13:51 +0100)]
examples: add resampling_audio.c file

11 years agoh264: slice-mt: check master context for valid current_picture_ptr
Janne Grunau [Wed, 5 Dec 2012 19:08:01 +0000 (20:08 +0100)]
h264: slice-mt: check master context for valid current_picture_ptr

Fixes errors in slice based multithreading introduced in 0b300daad2f5.

11 years agoh264: slice-mt: get last_pic_dropable from master context
Janne Grunau [Wed, 5 Dec 2012 18:56:36 +0000 (19:56 +0100)]
h264: slice-mt: get last_pic_dropable from master context

Fixes fate-h264-conformance-cvnlfi2_sony_h and smllwebdl.mkv from
https://github.com/OpenELEC/OpenELEC.tv/issues/1557 .

11 years agoff_lock_avcodec: make the lock state be consistent in case of failure.
Michael Niedermayer [Thu, 6 Dec 2012 01:21:11 +0000 (02:21 +0100)]
ff_lock_avcodec: make the lock state be consistent in case of failure.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec_open: if obtaining a lock fails, dont attempt to unlock it.
Michael Niedermayer [Thu, 6 Dec 2012 01:00:12 +0000 (02:00 +0100)]
avcodec_open: if obtaining a lock fails, dont attempt to unlock it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoRevert "Acquire lock when initializing parsers."
Michael Niedermayer [Thu, 6 Dec 2012 00:35:44 +0000 (01:35 +0100)]
Revert "Acquire lock when initializing parsers."

This reverts commit 7feef7dbca5f6a816e04b63c17aad5dacd272f6e.

This commit causes assertion failures due to use of parser_init from multiple
threads, for example indirectly by ffmpeg.c and more directly from the
packet read functions.

I dont know how to fix this quickly, and fixing ffmpeg.c leaves
the possibility of other applications being affected.
Crashing the applications until this is resolved is clearly no good
thus this revert, so we have time to think about the problem.

Crashes can be reproduced by using multiple input files in ffmpeg.

11 years agoRevert "Add assert that the avcodec lock is held when initializing static VLC tables."
Michael Niedermayer [Thu, 6 Dec 2012 00:35:31 +0000 (01:35 +0100)]
Revert "Add assert that the avcodec lock is held when initializing static VLC tables."

This reverts commit dd154198b1afa9f3f740eb0b2ccd7ab665f8edd4.

11 years agoframe_thread_encoder: fix locking while locks are held
Michael Niedermayer [Wed, 5 Dec 2012 22:46:59 +0000 (23:46 +0100)]
frame_thread_encoder: fix locking while locks are held

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovc1dec: prevent v_edge_pos from becoming negative.
Michael Niedermayer [Wed, 5 Dec 2012 22:16:21 +0000 (23:16 +0100)]
vc1dec: prevent v_edge_pos from becoming negative.

Fixes assertion failure

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoresample: remove disabled debug code
Michael Niedermayer [Wed, 5 Dec 2012 21:55:18 +0000 (22:55 +0100)]
resample: remove disabled debug code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate/hqdn3d: add -idct simple.
Clément Bœsch [Wed, 5 Dec 2012 22:36:29 +0000 (23:36 +0100)]
fate/hqdn3d: add -idct simple.

This should fix FATE failure on ARM. IDCT is required since it's a JPEG
source.

11 years agoswr: remove unused ONE define.
Clément Bœsch [Wed, 5 Dec 2012 19:27:33 +0000 (20:27 +0100)]
swr: remove unused ONE define.

11 years agocafenc: do not include riff.h
Paul B Mahol [Wed, 5 Dec 2012 20:44:28 +0000 (20:44 +0000)]
cafenc: do not include riff.h

ff_codec_get_tag() was moved to internal.h

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc/dxa: return meaningful error codes
Paul B Mahol [Wed, 5 Dec 2012 20:28:45 +0000 (20:28 +0000)]
lavc/dxa: return meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/dxa: return meaningful error codes
Paul B Mahol [Wed, 5 Dec 2012 20:18:04 +0000 (20:18 +0000)]
lavf/dxa: return meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodxa: signal EOF
Paul B Mahol [Wed, 5 Dec 2012 20:02:34 +0000 (20:02 +0000)]
dxa: signal EOF

Fixes #1948.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoAdd assert that the avcodec lock is held when initializing static VLC tables.
Reimar Döffinger [Tue, 27 Nov 2012 20:58:22 +0000 (21:58 +0100)]
Add assert that the avcodec lock is held when initializing static VLC tables.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoAcquire lock when initializing parsers.
Reimar Döffinger [Tue, 27 Nov 2012 20:57:33 +0000 (21:57 +0100)]
Acquire lock when initializing parsers.

This is necessary since they might be initializing or
even using static VLC tables.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoavcodec: add ff_lock/unlock_avcodec functions.
Reimar Döffinger [Tue, 27 Nov 2012 20:56:35 +0000 (21:56 +0100)]
avcodec: add ff_lock/unlock_avcodec functions.

Will be used in future patches, together with the
variable that allows checking whether the lock is held.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agowmaenc: add new line to some error messages
Piotr Bandurski [Wed, 5 Dec 2012 16:37:42 +0000 (17:37 +0100)]
wmaenc: add new line to some error messages

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo_parser: fix buffer access beyond end
Wolfram Gloger [Wed, 5 Dec 2012 18:26:12 +0000 (19:26 +0100)]
mpegvideo_parser: fix buffer access beyond end

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoav_assert should use AV_LOG_PANIC.
Reimar Döffinger [Mon, 3 Dec 2012 19:42:08 +0000 (20:42 +0100)]
av_assert should use AV_LOG_PANIC.

The description of AV_LOG_PANIC 100% matches what av_assert
does, while AV_LOG_FATAL does not really.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agompegvideo_enc: use av_log() in debug code
Michael Niedermayer [Wed, 5 Dec 2012 18:31:10 +0000 (19:31 +0100)]
mpegvideo_enc: use av_log() in debug code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomotion_est: use av_log() in debug code
Michael Niedermayer [Wed, 5 Dec 2012 18:29:40 +0000 (19:29 +0100)]
motion_est: use av_log() in debug code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoj2kenc: remove duplicate debug functions
Michael Niedermayer [Wed, 5 Dec 2012 18:29:00 +0000 (19:29 +0100)]
j2kenc: remove duplicate debug functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoj2k: avoid printf() useage in debug code
Michael Niedermayer [Wed, 5 Dec 2012 18:27:46 +0000 (19:27 +0100)]
j2k: avoid printf() useage in debug code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo: remove #if/define PARANOID code
Michael Niedermayer [Wed, 5 Dec 2012 18:26:02 +0000 (19:26 +0100)]
mpegvideo: remove #if/define PARANOID code

This code never did anything as far as i can remember

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc: fix decode_frame() third parameter semantics for rest of video decoders
Paul B Mahol [Wed, 5 Dec 2012 18:24:43 +0000 (18:24 +0000)]
lavc: fix decode_frame() third parameter semantics for rest of video decoders

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 5 Dec 2012 16:33:12 +0000 (17:33 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: workaround for slighly broken 'test' shell builtin
  mimic: initialize padding of swap_buf through av_fast_padded_malloc
  eamad: initialize padding of bitstream_buf through av_fast_padded_malloc()
  raw demuxer: initialize end of partial packets

Conflicts:
tests/fate-run.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'df9b9567518f2840d79a4a96b447ebe1aa326408'
Michael Niedermayer [Wed, 5 Dec 2012 16:15:57 +0000 (17:15 +0100)]
Merge commit 'df9b9567518f2840d79a4a96b447ebe1aa326408'

* commit 'df9b9567518f2840d79a4a96b447ebe1aa326408':
  lavc: fix decode_frame() third parameter semantics for video decoders

Conflicts:
libavcodec/cscd.c
libavcodec/eamad.c
libavcodec/ffv1dec.c
libavcodec/gifdec.c
libavcodec/h264.c
libavcodec/iff.c
libavcodec/mjpegdec.c
libavcodec/pcx.c
libavcodec/vp56.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '387bef95d28019c13c6805cfa4079e59948284e5'
Michael Niedermayer [Wed, 5 Dec 2012 16:02:36 +0000 (17:02 +0100)]
Merge commit '387bef95d28019c13c6805cfa4079e59948284e5'

* commit '387bef95d28019c13c6805cfa4079e59948284e5':
  lavc: factorise setting buffer type in avcodec_default_get_buffer().

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e57c4706e969afa1f2384481b955ccd9494cddb5'
Michael Niedermayer [Wed, 5 Dec 2012 15:25:03 +0000 (16:25 +0100)]
Merge commit 'e57c4706e969afa1f2384481b955ccd9494cddb5'

* commit 'e57c4706e969afa1f2384481b955ccd9494cddb5':
  lavc: don't reuse audio buffers

This commit causes a 0.5% speedloss for mp3 and 2% for raw pcm, that is
"time ffmpeg" style tested thus includes disk IO, demux and parsing

I would not have merged it if it wasnt required for the "new" buffer API
but sadly it is.
Once the new API is in ill reimplement proper buffer reuse, which will
fix this speedloss. In case we choose not to merge the "new" buffer
API then this commit here should be reverted.

Conflicts:
libavcodec/internal.h
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc: move ff_init_buffer_info() down to ff_get_buffer()
Michael Niedermayer [Wed, 5 Dec 2012 14:58:37 +0000 (15:58 +0100)]
lavc: move ff_init_buffer_info() down to ff_get_buffer()

and remove redundant code from ff_get_buffer()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ff953fecffd3b9a616a046723fb9d4690be032a6'
Michael Niedermayer [Wed, 5 Dec 2012 14:52:16 +0000 (15:52 +0100)]
Merge commit 'ff953fecffd3b9a616a046723fb9d4690be032a6'

* commit 'ff953fecffd3b9a616a046723fb9d4690be032a6':
  lavc: set frame properties in ff_get_buffer().

Conflicts:
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '594d4d5df3c70404168701dd5c90b7e6e5587793'
Michael Niedermayer [Wed, 5 Dec 2012 14:18:12 +0000 (15:18 +0100)]
Merge commit '594d4d5df3c70404168701dd5c90b7e6e5587793'

* commit '594d4d5df3c70404168701dd5c90b7e6e5587793':
  lavc: add a wrapper for AVCodecContext.get_buffer().

Conflicts:
libavcodec/4xm.c
libavcodec/8svx.c
libavcodec/bmv.c
libavcodec/cljr.c
libavcodec/cscd.c
libavcodec/dnxhddec.c
libavcodec/dpcm.c
libavcodec/dpx.c
libavcodec/eacmv.c
libavcodec/eamad.c
libavcodec/frwu.c
libavcodec/g723_1.c
libavcodec/gifdec.c
libavcodec/idcinvideo.c
libavcodec/iff.c
libavcodec/indeo3.c
libavcodec/internal.h
libavcodec/interplayvideo.c
libavcodec/kmvc.c
libavcodec/mpc7.c
libavcodec/mpegaudiodec.c
libavcodec/pcx.c
libavcodec/pngdec.c
libavcodec/pnmdec.c
libavcodec/rl2.c
libavcodec/snow.c
libavcodec/targa.c
libavcodec/tscc.c
libavcodec/txd.c
libavcodec/utils.c
libavcodec/v210dec.c
libavcodec/vb.c
libavcodec/vmdav.c
libavcodec/vp56.c
libavcodec/vqavideo.c
libavcodec/wavpack.c
libavcodec/wnv1.c
libavcodec/xl.c
libavcodec/yop.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoircamenc: 10l do not use avio_skip()
Paul B Mahol [Wed, 5 Dec 2012 13:46:35 +0000 (13:46 +0000)]
ircamenc: 10l do not use avio_skip()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoEnsoniq Paris Audio File demuxer
Paul B Mahol [Tue, 27 Nov 2012 15:14:53 +0000 (15:14 +0000)]
Ensoniq Paris Audio File demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoIRCAM demuxer & muxer
Paul B Mahol [Sun, 2 Dec 2012 18:13:56 +0000 (18:13 +0000)]
IRCAM demuxer & muxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agorsodec: use ff_pcm_read_packet()
Paul B Mahol [Mon, 3 Dec 2012 17:47:11 +0000 (17:47 +0000)]
rsodec: use ff_pcm_read_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosoxdec: use ff_pcm_read_packet()
Paul B Mahol [Mon, 3 Dec 2012 17:37:06 +0000 (17:37 +0000)]
soxdec: use ff_pcm_read_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoaudec: use ff_pcm_read_packet()
Paul B Mahol [Mon, 3 Dec 2012 17:30:02 +0000 (17:30 +0000)]
audec: use ff_pcm_read_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agopvfdec: use ff_pcm_read_packet()
Paul B Mahol [Mon, 3 Dec 2012 17:27:28 +0000 (17:27 +0000)]
pvfdec: use ff_pcm_read_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavr: use ff_pcm_read_packet()
Paul B Mahol [Mon, 3 Dec 2012 17:26:16 +0000 (17:26 +0000)]
avr: use ff_pcm_read_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agopcmdec: move read_packet function to pcm.c so it can be shared with other demuxers
Paul B Mahol [Mon, 3 Dec 2012 17:22:21 +0000 (17:22 +0000)]
pcmdec: move read_packet function to pcm.c so it can be shared with other demuxers

While here remove pts/dts code, it is apparently not needed and cause
problems for demuxers that will use such function.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'
Michael Niedermayer [Wed, 5 Dec 2012 12:25:23 +0000 (13:25 +0100)]
Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'

* commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967':
  Remove pointless #undefs of previously forbidden functions.
  fate: Add dependencies for bmp, cdxl, dfa, mp3

Conflicts:
doc/examples/muxing.c
libavfilter/filtfmts.c
libavutil/des.c
libavutil/eval.c
libavutil/log.c
libavutil/parseutils.c
tests/fate/mp3.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: disable vf_gradfun test
Michael Niedermayer [Wed, 5 Dec 2012 12:10:24 +0000 (13:10 +0100)]
fate: disable vf_gradfun test

The non working test interferes with other peoples work

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovc1dec: Fix null pointer dereference in vc1_decode_skip_blocks()
Michael Niedermayer [Wed, 5 Dec 2012 04:47:37 +0000 (05:47 +0100)]
vc1dec: Fix null pointer dereference in vc1_decode_skip_blocks()

This handles the last frame being unavailable like all the other
code in vc1dec.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc/dvdsubdec: accept palette from options.
Nicolas George [Sat, 1 Dec 2012 13:47:14 +0000 (14:47 +0100)]
lavc/dvdsubdec: accept palette from options.

On DVDs, the palette is part of the IFO file and therefore
not available when reading from a dumped VOB file.

11 years agooggdec: prevent codec from changing through ogg_replace_stream()
Michael Niedermayer [Wed, 5 Dec 2012 03:38:57 +0000 (04:38 +0100)]
oggdec: prevent codec from changing through ogg_replace_stream()

This prevents inconsistencies leading to out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoff_emulated_edge_mc: fix handling of w/h being 0
Michael Niedermayer [Wed, 5 Dec 2012 02:14:03 +0000 (03:14 +0100)]
ff_emulated_edge_mc: fix handling of w/h being 0

Fixes assertion failure

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopixdesc: fix broken yuva definitions
Paul B Mahol [Wed, 5 Dec 2012 00:38:09 +0000 (00:38 +0000)]
pixdesc: fix broken yuva definitions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoffv1enc: allow encoding with 1 slice for CIF and smaller in version 3
Michael Niedermayer [Wed, 5 Dec 2012 00:20:44 +0000 (01:20 +0100)]
ffv1enc: allow encoding with 1 slice for CIF and smaller in version 3

the default is still 4 slices for any resolution, this just allows the user
to force 1 slice.
This in my quick test improves compression by 1% for a 320x240 sample

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoSet some audio stream properties in the vivo demuxer.
Carl Eugen Hoyos [Tue, 4 Dec 2012 17:52:00 +0000 (18:52 +0100)]
Set some audio stream properties in the vivo demuxer.

This allows playback with MPlayer and the binary decoder.

Reviewed-by: Paul B Mahol
11 years agofate: workaround for slighly broken 'test' shell builtin
Mans Rullgard [Tue, 4 Dec 2012 15:53:01 +0000 (15:53 +0000)]
fate: workaround for slighly broken 'test' shell builtin

Some shells, e.g. minix3, have a broken 'test' builtin which fails
if the first operand of a binary operator looks like a unary operator.
Prefixing the values with 'x' prevents this from happening.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agomimic: initialize padding of swap_buf through av_fast_padded_malloc
Janne Grunau [Sun, 2 Dec 2012 21:15:42 +0000 (22:15 +0100)]
mimic: initialize padding of swap_buf through av_fast_padded_malloc

11 years agoeamad: initialize padding of bitstream_buf through av_fast_padded_malloc()
Janne Grunau [Sun, 2 Dec 2012 21:09:36 +0000 (22:09 +0100)]
eamad: initialize padding of bitstream_buf through av_fast_padded_malloc()

11 years agoraw demuxer: initialize end of partial packets
Janne Grunau [Sat, 1 Dec 2012 22:42:11 +0000 (23:42 +0100)]
raw demuxer: initialize end of partial packets

11 years agofate: add gradfun filter test.
Clément Bœsch [Sun, 2 Dec 2012 18:52:33 +0000 (19:52 +0100)]
fate: add gradfun filter test.

11 years agofate: add hqdn3d filter test.
Clément Bœsch [Sun, 2 Dec 2012 16:15:01 +0000 (17:15 +0100)]
fate: add hqdn3d filter test.

11 years agolavfi/subtitles: 10l close codec before format.
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.

11 years agolavc: fix decode_frame() third parameter semantics for video decoders
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

11 years agolavc: factorise setting buffer type in avcodec_default_get_buffer().
Anton Khirnov [Mon, 12 Nov 2012 19:01:32 +0000 (20:01 +0100)]
lavc: factorise setting buffer type in avcodec_default_get_buffer().

11 years agolavc: don't reuse audio buffers
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.

11 years agolavc: set frame properties in ff_get_buffer().
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.

11 years agolavc: add a wrapper for AVCodecContext.get_buffer().
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.

11 years agoRemove pointless #undefs of previously forbidden functions.
Anton Khirnov [Sat, 20 Oct 2012 13:22:41 +0000 (15:22 +0200)]
Remove pointless #undefs of previously forbidden functions.

11 years agolavf: compute probe buffer size more reliably.
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.

11 years agolavfi/drawtext: add the reload option.
Nicolas George [Sun, 2 Dec 2012 18:58:39 +0000 (19:58 +0100)]
lavfi/drawtext: add the reload option.

11 years agolavf: the core rfps code needs 2 durations to estimate rfps
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>
11 years agoav_register_protocol is gone :(
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>
11 years agorawvideodec: set bit rate
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>
11 years agoffmpeg: small indent fix.
Clément Bœsch [Tue, 4 Dec 2012 15:40:11 +0000 (16:40 +0100)]
ffmpeg: small indent fix.

11 years agoffmpeg: use the correct variables in do_video_stats()
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>
11 years agoUpdate video stats log during encode flush
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>
11 years agogifdec: do not handle timestamps
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>
11 years agoAdd debug output when skipping unknown swf tags.
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
11 years agofate: Add dependencies for bmp, cdxl, dfa, mp3
Diego Biurrun [Wed, 28 Nov 2012 16:06:04 +0000 (17:06 +0100)]
fate: Add dependencies for bmp, cdxl, dfa, mp3

11 years agoMerge remote-tracking branch 'qatar/master'
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>
11 years agoauenc: remove pointless assigment
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>
11 years agommf: return meaningful error codes
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>
11 years agoAST Muxer
James Almer [Thu, 29 Nov 2012 16:14:50 +0000 (13:14 -0300)]
AST Muxer

Signed-off-by: James Almer <jamrial@gmail.com>
11 years agoast: Rename ast.c -> astdec.c
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>
11 years agoiff demuxer: include DEEP TVDC lookup table in extradata buffer
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>
11 years agoiff decoder: DEEP TVDC 32-bit decoder
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>
11 years agoconfigure: Fix ARM thumb detection
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>
11 years agomatroskadec: reset size when freeing data.
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>
11 years agolavfi/mp: fix invalid read with filters with no argument.
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.

11 years agolavfi/removelogo: switch to ff_filter_frame.
Clément Bœsch [Sun, 2 Dec 2012 01:21:44 +0000 (02:21 +0100)]
lavfi/removelogo: switch to ff_filter_frame.

11 years agolavfi: add subtitles filter.
Clément Bœsch [Thu, 29 Nov 2012 02:28:37 +0000 (03:28 +0100)]
lavfi: add subtitles filter.

11 years agoppc: always use pic for shared libraries
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
11 years agolavfi: remove some video w/h settings after avfilter_copy_buffer_ref_props.
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.

11 years agolavfi/gradfun: remove check for AV_PERM_PRESERVE.
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.

11 years agolibspeex: allow custom sample rates again.
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>
11 years agobuild: cosmetics: Move CONFIG_RTPDEC entry to a more suitable place
Diego Biurrun [Thu, 29 Nov 2012 18:20:56 +0000 (19:20 +0100)]
build: cosmetics: Move CONFIG_RTPDEC entry to a more suitable place

11 years agompegts: check that codec is not open in mpegts_find_stream_type
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>
11 years agompegts_set_stream_info: remove unneeded codec id check
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>
11 years agoff_mp4_read_dec_config_descr: check that the codec is not open
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>
11 years agodoc: describe micro versioning policy
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>