]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agolavfi/afade * biquads: call av_frame_copy_props()
Paul B Mahol [Wed, 3 Apr 2013 11:10:00 +0000 (11:10 +0000)]
lavfi/afade * biquads: call av_frame_copy_props()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/earwax: clip sample, this is what sox does
Paul B Mahol [Wed, 3 Apr 2013 10:52:01 +0000 (10:52 +0000)]
lavfi/earwax: clip sample, this is what sox does

Fixes #1884.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agovf_deshake: Reorder constant arguments in an if() statement.
Carl Eugen Hoyos [Wed, 3 Apr 2013 10:52:38 +0000 (12:52 +0200)]
vf_deshake: Reorder constant arguments in an if() statement.

Fixes compilation with clang on netbsd with --disable-optimizations.

Tested-by: Paul B Mahol
11 years agoaphaser filter
Paul B Mahol [Sat, 30 Mar 2013 04:03:39 +0000 (04:03 +0000)]
aphaser filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoflvdec: fix seeking in audio only files
Michael Niedermayer [Wed, 3 Apr 2013 01:57:37 +0000 (03:57 +0200)]
flvdec: fix seeking in audio only files

Fixes Seeking with the file in Ticket2283

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264pred: fix "warning: initialization discards const qualifier from pointer target...
Michael Niedermayer [Wed, 3 Apr 2013 01:12:27 +0000 (03:12 +0200)]
h264pred: fix "warning: initialization discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/edgedetect: reindent after previous commit.
Clément Bœsch [Tue, 2 Apr 2013 22:31:19 +0000 (00:31 +0200)]
lavfi/edgedetect: reindent after previous commit.

11 years agolavfi/edgedetect: add direct path.
Clément Bœsch [Tue, 2 Apr 2013 22:21:11 +0000 (00:21 +0200)]
lavfi/edgedetect: add direct path.

11 years agoavformat: fix atomatic format selection for (s)segment
Michael Niedermayer [Tue, 2 Apr 2013 19:48:25 +0000 (21:48 +0200)]
avformat: fix atomatic format selection for (s)segment

Fixes Ticket2236

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: Fix forcing of the framerate for stream copy on input
Michael Niedermayer [Tue, 2 Apr 2013 16:08:12 +0000 (18:08 +0200)]
ffmpeg: Fix forcing of the framerate for stream copy on input

Fixes Ticket2211

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodeshake opencl based on comments on 20130402 3rd
highgod0401 [Tue, 2 Apr 2013 12:54:22 +0000 (20:54 +0800)]
deshake opencl based on comments on 20130402 3rd

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil: Fix "warning: initialization discards const qualifier from pointer target...
Michael Niedermayer [Tue, 2 Apr 2013 12:51:34 +0000 (14:51 +0200)]
dsputil: Fix "warning: initialization discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmp3lame: allow joint stereo to be disabled
Paul B Mahol [Sat, 30 Mar 2013 22:15:50 +0000 (22:15 +0000)]
libmp3lame: allow joint stereo to be disabled

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agocavs: fix "warning: initialization discards const qualifier from pointer target type"
Michael Niedermayer [Tue, 2 Apr 2013 03:12:10 +0000 (05:12 +0200)]
cavs: fix "warning: initialization discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffplay: use seek per time for ogg by default
Michael Niedermayer [Sun, 31 Mar 2013 19:38:29 +0000 (21:38 +0200)]
ffplay: use seek per time for ogg by default

Fixes Ticket2383

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu/opencl: use consistent inclusion header guard name
Stefano Sabatini [Mon, 1 Apr 2013 12:02:47 +0000 (14:02 +0200)]
lavu/opencl: use consistent inclusion header guard name

11 years agolavu/opencl: apply misc cosmetics fixes
Stefano Sabatini [Mon, 1 Apr 2013 11:53:24 +0000 (13:53 +0200)]
lavu/opencl: apply misc cosmetics fixes

Split long lines, reindent code, add missing spaces between operators,
remove possibly confusing comment from av_opencl_buffer_read_image()
doxy, and use designated initializers for openclutils_class.

11 years agocavsdsp: fix "warning: initialization discards const qualifier from pointer target...
Michael Niedermayer [Mon, 1 Apr 2013 18:47:14 +0000 (20:47 +0200)]
cavsdsp: fix "warning: initialization discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: initialize got_output, this silences a compiler warning from icc
Michael Niedermayer [Mon, 1 Apr 2013 18:40:09 +0000 (20:40 +0200)]
ffmpeg: initialize got_output, this silences a compiler warning from icc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/curves: make use of options to store the preset names.
Clément Bœsch [Mon, 1 Apr 2013 18:37:45 +0000 (20:37 +0200)]
lavfi/curves: make use of options to store the preset names.

11 years agocmdutils: fix build with --disable-avfilter.
Clément Bœsch [Mon, 1 Apr 2013 17:56:59 +0000 (19:56 +0200)]
cmdutils: fix build with --disable-avfilter.

11 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Mon, 1 Apr 2013 13:13:02 +0000 (15:13 +0200)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavfi/af_asetnsamples: fix EOF handling.
  lavu/opt: make sure av_opt_set_bin() handles NULL/0.
  lavd/v4l2: fully init an ioctl argument.
  lavfi: detect merge failure for unknown layouts.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoChangelog: add entry for OpenCL
Michael Niedermayer [Mon, 1 Apr 2013 11:32:34 +0000 (13:32 +0200)]
Changelog: add entry for OpenCL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoopencl: fix double ;
Michael Niedermayer [Mon, 1 Apr 2013 11:01:17 +0000 (13:01 +0200)]
opencl: fix double ;

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoopencl wrapper based on comments on 20130401
highgod0401 [Mon, 1 Apr 2013 09:46:11 +0000 (17:46 +0800)]
opencl wrapper based on comments on 20130401

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 1 Apr 2013 10:29:44 +0000 (12:29 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  oma: Validate sample rates

Conflicts:
libavformat/oma.c

See: a30165c4a8044e1d5527c1302b5a5cb473e0913d

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/af_asetnsamples: fix EOF handling.
Nicolas George [Sun, 31 Mar 2013 17:28:11 +0000 (19:28 +0200)]
lavfi/af_asetnsamples: fix EOF handling.

Only filter one buffered frame.
Correctly return EOF if there is none.

11 years agolavu/opt: make sure av_opt_set_bin() handles NULL/0.
Nicolas George [Thu, 28 Mar 2013 15:45:12 +0000 (16:45 +0100)]
lavu/opt: make sure av_opt_set_bin() handles NULL/0.

11 years agolavd/v4l2: fully init an ioctl argument.
Nicolas George [Wed, 27 Mar 2013 10:11:31 +0000 (11:11 +0100)]
lavd/v4l2: fully init an ioctl argument.

Silence a valgrind warning about uninitialized memory.

11 years agolavfi: detect merge failure for unknown layouts.
Nicolas George [Thu, 14 Mar 2013 20:54:48 +0000 (21:54 +0100)]
lavfi: detect merge failure for unknown layouts.

Detect when filtering known layouts from an explicit list
results in an empty list.

Fix erratic behavior.

11 years agodoc: Grammar fixes for strem specifiers section
Derek Buitenhuis [Sat, 30 Mar 2013 19:26:21 +0000 (15:26 -0400)]
doc: Grammar fixes for strem specifiers section

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Fix broken English in the common options description
Derek Buitenhuis [Sat, 30 Mar 2013 19:21:36 +0000 (15:21 -0400)]
doc: Fix broken English in the common options description

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Grammar fixes for stream selection
Derek Buitenhuis [Sat, 30 Mar 2013 19:16:49 +0000 (15:16 -0400)]
doc: Grammar fixes for stream selection

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Consistently use 'filtergraph'
Derek Buitenhuis [Sat, 30 Mar 2013 19:13:08 +0000 (15:13 -0400)]
doc: Consistently use 'filtergraph'

We used to use 'filtergraph' or 'filter graph' randomly.

'filtergraph' was chosen due to having 57 occurrences in
the documentation, whereas 'filter graph' had only 19.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Grammar fixes for FFmpeg's detailed description
Derek Buitenhuis [Sat, 30 Mar 2013 19:08:51 +0000 (15:08 -0400)]
doc: Grammar fixes for FFmpeg's detailed description

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Consistently use 'frame rate' everywhere
Derek Buitenhuis [Sat, 30 Mar 2013 18:55:47 +0000 (14:55 -0400)]
doc: Consistently use 'frame rate' everywhere

We used to use 'framerate' or 'frame rate' randomly.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Grammar fixes for FFmpeg description
Derek Buitenhuis [Sat, 30 Mar 2013 18:51:05 +0000 (14:51 -0400)]
doc: Grammar fixes for FFmpeg description

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Fix grammar in -n description
Derek Buitenhuis [Sat, 30 Mar 2013 18:45:33 +0000 (14:45 -0400)]
doc: Fix grammar in -n description

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Small grammar fix in -f description
Derek Buitenhuis [Sat, 30 Mar 2013 18:44:33 +0000 (14:44 -0400)]
doc: Small grammar fix in -f description

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Document which cpuflags exist
Derek Buitenhuis [Sat, 30 Mar 2013 18:41:45 +0000 (14:41 -0400)]
doc: Document which cpuflags exist

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Explain the various logevel settings
Derek Buitenhuis [Sat, 30 Mar 2013 18:29:33 +0000 (14:29 -0400)]
doc: Explain the various logevel settings

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc: Remove list of format fields
Derek Buitenhuis [Sat, 30 Mar 2013 18:08:28 +0000 (14:08 -0400)]
doc: Remove list of format fields

These are available in the output of -formats.

Similarily, we do not list the fields for e.g. -codecs.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoxygen: dont strip code comments
Michael Niedermayer [Sun, 31 Mar 2013 20:34:13 +0000 (22:34 +0200)]
doxygen: dont strip code comments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodvdec: fix lowres=3 with yuv 4:1:1
Michael Niedermayer [Sun, 31 Mar 2013 18:37:11 +0000 (20:37 +0200)]
dvdec: fix lowres=3 with yuv 4:1:1

Fixes Ticket2390

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoopt: attempt to improve options dump output.
Clément Bœsch [Sun, 31 Mar 2013 13:14:08 +0000 (15:14 +0200)]
opt: attempt to improve options dump output.

Add some indent and remove the '-' prefix for filters.

11 years agocmdutils: support filters in the help topic system.
Clément Bœsch [Sun, 31 Mar 2013 13:04:04 +0000 (15:04 +0200)]
cmdutils: support filters in the help topic system.

11 years agocmdutils: avtool -> fftool
Clément Bœsch [Sun, 31 Mar 2013 12:49:14 +0000 (14:49 +0200)]
cmdutils: avtool -> fftool

11 years agocmdutils: allow forcing log line repeation
Michael Niedermayer [Sun, 31 Mar 2013 12:08:03 +0000 (14:08 +0200)]
cmdutils: allow forcing log line repeation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocmdutils_common_opts: fix loglevel help text as its inaccurate
Michael Niedermayer [Sun, 31 Mar 2013 11:39:48 +0000 (13:39 +0200)]
cmdutils_common_opts: fix loglevel help text as its inaccurate

ffmpeg and ffplay use the loglevel as well as libpostproc, libswscale
and libswresample.

Also this makes the text shorter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoexamples/resampling_audio: make use of av_samples_alloc_array_and_samples()
Stefano Sabatini [Thu, 21 Mar 2013 10:55:54 +0000 (11:55 +0100)]
examples/resampling_audio: make use of av_samples_alloc_array_and_samples()

Simplify.

11 years agolavu/samplefmt: add av_samples_alloc_array_and_pointers()
Stefano Sabatini [Thu, 21 Mar 2013 10:48:28 +0000 (11:48 +0100)]
lavu/samplefmt: add av_samples_alloc_array_and_pointers()

11 years agolavfi/overlay: fix debug PTS output in try_filter_frame()
Stefano Sabatini [Sun, 31 Mar 2013 07:51:59 +0000 (09:51 +0200)]
lavfi/overlay: fix debug PTS output in try_filter_frame()

The PTS of the input frames must be interpreted according to the input
timebase, which is not the same as the output timebase.

11 years agooma: Validate sample rates
Luca Barbato [Sat, 30 Mar 2013 08:46:06 +0000 (09:46 +0100)]
oma: Validate sample rates

The sample rate index is 3 bits even if currently index 5, 6 and 7 are
not supported.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agodoc/filters: fix width/height typo in crop filter.
Timothy Gu [Sun, 31 Mar 2013 10:20:17 +0000 (12:20 +0200)]
doc/filters: fix width/height typo in crop filter.

Signed-off-by: Clément Bœsch <ubitux@gmail.com>
11 years agolavfi/volume: use designated initializers for the sample_fmts declaration.
Clément Bœsch [Fri, 29 Mar 2013 11:34:15 +0000 (12:34 +0100)]
lavfi/volume: use designated initializers for the sample_fmts declaration.

11 years agolavfi/volume: use copy props helper instead of incomplete manual code.
Clément Bœsch [Fri, 29 Mar 2013 11:11:24 +0000 (12:11 +0100)]
lavfi/volume: use copy props helper instead of incomplete manual code.

11 years agofate/filter: use aperms to test volume filter.
Clément Bœsch [Fri, 29 Mar 2013 11:10:08 +0000 (12:10 +0100)]
fate/filter: use aperms to test volume filter.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 31 Mar 2013 09:31:19 +0000 (11:31 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc/platform: Remove part about dllimport
  vp8: Fix pthread_cond and pthread_mutex leaks

Conflicts:
doc/platform.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodecimate: check for avctx ptr before closing.
Clément Bœsch [Sun, 31 Mar 2013 08:00:32 +0000 (10:00 +0200)]
decimate: check for avctx ptr before closing.

Fixes a crash init failed before setting avctx.

11 years agoUse PIX_FMT_BGR24 for the AviSynth demuxer, instead of RGB24.
Stephen Hutchinson [Sat, 30 Mar 2013 21:34:45 +0000 (17:34 -0400)]
Use PIX_FMT_BGR24 for the AviSynth demuxer, instead of RGB24.

Partial fix for ticket #2412 in that using PIX_FMT_BGR24 fixes the
swapped channels issue when using scripts serving RGB24.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_refs: check for multiple mismatching long term ref assignments
Michael Niedermayer [Sat, 30 Mar 2013 23:18:23 +0000 (00:18 +0100)]
h264_refs: check for multiple mismatching long term ref assignments

Fixes failure of the assert added a few hours ago.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sat, 30 Mar 2013 21:24:55 +0000 (22:24 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: always queue attachment pictures after flushing the video packet queue
  ffplay: fix early frame dropped pts serial

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_direct: assert the validity of the spatial ref
Michael Niedermayer [Sat, 30 Mar 2013 19:57:40 +0000 (20:57 +0100)]
h264_direct: assert the validity of the spatial ref

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: move last_slice_type reset into decode_slice_header
Michael Niedermayer [Sat, 30 Mar 2013 19:51:07 +0000 (20:51 +0100)]
h264: move last_slice_type reset into decode_slice_header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: move the default_ref_list_done check down after its inputs have been written
Michael Niedermayer [Sat, 30 Mar 2013 18:10:04 +0000 (19:10 +0100)]
h264: move the default_ref_list_done check down after its inputs have been written

Fixes out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_refs: assert that the references are not deallocated
Michael Niedermayer [Sat, 30 Mar 2013 17:39:09 +0000 (18:39 +0100)]
h264_refs: assert that the references are not deallocated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_refs: assert that long ref fields have not been inserted multiple times
Michael Niedermayer [Sat, 30 Mar 2013 16:21:42 +0000 (17:21 +0100)]
h264_refs: assert that long ref fields have not been inserted multiple times

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil: add av_buffer_get_ref_count()
Michael Niedermayer [Sat, 30 Mar 2013 18:13:26 +0000 (19:13 +0100)]
avutil: add av_buffer_get_ref_count()

This function is quite usefull for debuging

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: Move slice_table clean out of frame_start
Michael Niedermayer [Sat, 30 Mar 2013 15:04:07 +0000 (16:04 +0100)]
h264: Move slice_table clean out of frame_start

Fixes inconsistency ultimately leading to an out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/platform: Remove part about dllimport
Derek Buitenhuis [Sat, 30 Mar 2013 17:52:02 +0000 (13:52 -0400)]
doc/platform: Remove part about dllimport

Only deprecated things need this at all anymore, as we have functions
to access them or they are no longer needed.

The document should not encourage use of deprecated APIs.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoffplay: always queue attachment pictures after flushing the video packet queue
Marton Balint [Thu, 28 Mar 2013 00:58:14 +0000 (01:58 +0100)]
ffplay: always queue attachment pictures after flushing the video packet queue

Requeue them after seeking and also after opening a video stream. Also don't
fill the video queue in case of an attached picture video stream since there
will be no more than one packet from that stream.

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: fix early frame dropped pts serial
Marton Balint [Sun, 24 Mar 2013 03:14:59 +0000 (04:14 +0100)]
ffplay: fix early frame dropped pts serial

Fixes early frame drop which was kind of broken since
26c208cf0ff59efd7786528884a64d35fc42e9bf.

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agovp8: Fix pthread_cond and pthread_mutex leaks
Matt Wolenetz [Thu, 28 Mar 2013 00:29:57 +0000 (17:29 -0700)]
vp8: Fix pthread_cond and pthread_mutex leaks

CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoWrite broken aac frames to mov files instead of skipping them.
Carl Eugen Hoyos [Sat, 30 Mar 2013 07:41:46 +0000 (08:41 +0100)]
Write broken aac frames to mov files instead of skipping them.

Fixes decoding with picky media players.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Sat, 30 Mar 2013 12:41:39 +0000 (13:41 +0100)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Fix compilation with --enable-decoder=webp --disable-decoder=vp8
  Do not show "Estimating duration from bitrate" warning if no duration was estimated.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffplay: use av_guess_frame_rate()
Michael Niedermayer [Fri, 29 Mar 2013 17:34:19 +0000 (18:34 +0100)]
ffplay: use av_guess_frame_rate()

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: Print correct error message for reference generation too
Michael Niedermayer [Sat, 30 Mar 2013 10:41:58 +0000 (11:41 +0100)]
fate: Print correct error message for reference generation too

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 30 Mar 2013 10:21:15 +0000 (11:21 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: add an option to generate the references

Conflicts:
doc/fate.texi
tests/fate-run.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix compilation with --enable-decoder=webp --disable-decoder=vp8
Carl Eugen Hoyos [Sat, 30 Mar 2013 07:25:44 +0000 (08:25 +0100)]
Fix compilation with --enable-decoder=webp --disable-decoder=vp8

11 years agoDo not show "Estimating duration from bitrate" warning if no duration was estimated.
Carl Eugen Hoyos [Sat, 30 Mar 2013 07:24:51 +0000 (08:24 +0100)]
Do not show "Estimating duration from bitrate" warning if no duration was estimated.

11 years agolavc: remove empty function
Paul B Mahol [Sat, 30 Mar 2013 03:02:41 +0000 (03:02 +0000)]
lavc: remove empty function

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodoc/texi2pod.pl: skip printing chapter names if they are disabled
Stefano Sabatini [Tue, 19 Mar 2013 19:34:42 +0000 (20:34 +0100)]
doc/texi2pod.pl: skip printing chapter names if they are disabled

11 years agolavc/libtheoraenc: clarify comment about global_quality to quality conversion
Stefano Sabatini [Tue, 19 Mar 2013 12:19:12 +0000 (13:19 +0100)]
lavc/libtheoraenc: clarify comment about global_quality to quality conversion

11 years agoFix pthread_cond and pthread_mutex leaks in vp8
Matt Wolenetz [Thu, 28 Mar 2013 00:29:57 +0000 (17:29 -0700)]
Fix pthread_cond and pthread_mutex leaks in vp8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopaf_video: make code independent of sizeof(AVFrame)
Paul B Mahol [Fri, 29 Mar 2013 20:14:13 +0000 (20:14 +0000)]
paf_video: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoaacps: correct opdipd code to match spec
Michael Niedermayer [Fri, 29 Mar 2013 19:58:42 +0000 (20:58 +0100)]
aacps: correct opdipd code to match spec

This fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovmdav: use more unchecked bytestream2 variants where it makes sense
Paul B Mahol [Fri, 29 Mar 2013 19:48:45 +0000 (19:48 +0000)]
vmdav: use more unchecked bytestream2 variants where it makes sense

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agonoise_bsf: check if allocation failed
Paul B Mahol [Fri, 29 Mar 2013 19:00:16 +0000 (19:00 +0000)]
noise_bsf: check if allocation failed

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc: fix typo
Paul B Mahol [Fri, 29 Mar 2013 18:59:56 +0000 (18:59 +0000)]
lavc: fix typo

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agovda_h264_dec: fit the new API
Xidorn Quan [Fri, 29 Mar 2013 15:15:20 +0000 (23:15 +0800)]
vda_h264_dec: fit the new API

It fixes a memory leak in this decoder caused by the API change.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg/avformat: factor av_guess_frame_rate() out
Michael Niedermayer [Wed, 27 Mar 2013 21:08:53 +0000 (22:08 +0100)]
ffmpeg/avformat: factor av_guess_frame_rate() out

This will be used in ffplay

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/buffer: add get_opaque
Xidorn Quan [Fri, 29 Mar 2013 15:15:19 +0000 (23:15 +0800)]
avutil/buffer: add get_opaque

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: add an option to generate the references
Luca Barbato [Mon, 18 Mar 2013 22:45:58 +0000 (23:45 +0100)]
fate: add an option to generate the references

Useful to add or update fate tests.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 29 Mar 2013 10:01:43 +0000 (11:01 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  flvdec: read audio sample size and channels metadata

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c3d015775388882b8a122afc337ea35108f652be'
Michael Niedermayer [Fri, 29 Mar 2013 09:46:39 +0000 (10:46 +0100)]
Merge commit 'c3d015775388882b8a122afc337ea35108f652be'

* commit 'c3d015775388882b8a122afc337ea35108f652be':
  flvdec: use the correct audio codec id when parsing metadata

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoid3v2: allocate large enough buffer
Michael Niedermayer [Fri, 29 Mar 2013 04:00:52 +0000 (05:00 +0100)]
id3v2: allocate large enough buffer

Fixes array overread

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomjpegdec: check buffer before using it
Michael Niedermayer [Fri, 29 Mar 2013 03:36:49 +0000 (04:36 +0100)]
mjpegdec: check buffer before using it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyop: Do not keep a copy of parts of the returned packet
Michael Niedermayer [Thu, 28 Mar 2013 22:59:41 +0000 (23:59 +0100)]
yop: Do not keep a copy of parts of the returned packet

Fixes double free
Regression since the new buffer references, thus no FFmpeg
releases should be affected

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo: Make the table reallocation more robust.
Michael Niedermayer [Thu, 28 Mar 2013 22:46:13 +0000 (23:46 +0100)]
mpegvideo: Make the table reallocation more robust.

This fixes out of array writes after resolution changes
No FFmpeg releases are known to be affected by this

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoLICENSE: add libutvideo in the GPL libraries list.
Clément Bœsch [Fri, 29 Mar 2013 01:08:16 +0000 (02:08 +0100)]
LICENSE: add libutvideo in the GPL libraries list.