ffmpeg.git
7 years agolavfi/avcodec.c: fix copyright
Michael Niedermayer [Tue, 22 May 2012 19:04:31 +0000 (21:04 +0200)]
lavfi/avcodec.c: fix copyright

git blame:
     45 Stefano Sabatini
     23 Clément Bœsch
      4 Michael Niedermayer
      3 Robert Nagy
      3 Nicolas George
      2 Roger Pau Monné

Initial commit:
commit 566666caf3a09d6254edaa99d222eddb6fe2986b
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date:   Sun May 1 14:47:05 2011 +0200

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoasrc_anullsrc: fix copyright
Michael Niedermayer [Tue, 22 May 2012 19:01:07 +0000 (21:01 +0200)]
asrc_anullsrc: fix copyright

git blame says:
    109 Stefano Sabatini
      7 Clément Bœsch
      2 Reimar Döffinger
      2 Michael Niedermayer
      1 Reinhard Tartler
      1 Mans Rullgard

Initial commit:
commit 1ee410f330d3b57b0ea1ccb915977f2ba4d99815
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date:   Sat Sep 25 01:56:58 2010 +0000

    Add asrc_anullsrc - null audio source.

    Based on a patch by "S.N. Hemanth Meenakshisundaram" smeenaks!ucsd!edu.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoasink_anullsink: fix copyright
Michael Niedermayer [Tue, 22 May 2012 18:57:06 +0000 (20:57 +0200)]
asink_anullsink: fix copyright

git blame says authors are:
     19 S.N. Hemanth Meenakshisundaram
      2 Reimar Döffinger

initial commit:
commit f0a5543898dad040b8f2d1b44fb6b278c06c3460
Author: S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu>
Date:   Sat Sep 25 01:57:01 2010 +0000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaf_null: fix copyright
Michael Niedermayer [Tue, 22 May 2012 18:50:43 +0000 (20:50 +0200)]
af_null: fix copyright

Authors according to blame are:
     16 S.N. Hemanth Meenakshisundaram
      4 Stefano Sabatini
      3 Anton Khirnov
      2 Reimar Döffinger

Initial commit was:
commit 99046339fca92d631404b47b041e98afa28659ed
Author: S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu>
Date:   Fri Aug 20 23:16:51 2010 +0000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi: copy palette in start_frame()
Stefano Sabatini [Sat, 7 Apr 2012 07:49:39 +0000 (09:49 +0200)]
lavfi: copy palette in start_frame()

Fix -vf copy with pal8 format.

7 years agolavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h
Stefano Sabatini [Tue, 10 Apr 2012 14:34:16 +0000 (16:34 +0200)]
lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h

Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from
libavcodec/avcodec.h to libavutil/pixfmt.h.

The definition is more useful in libavutil, where it can be shared for
example by libavfilter and libswscale.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 23 May 2012 19:41:13 +0000 (21:41 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2
  http: Add support for reading http POST reply headers
  http: Add http_shutdown() for ending writing of posts
  tcp: Allow signalling end of reading/writing
  avio: Add a function for signalling end of reading/writing
  lavfi: fix comment, audio is supported now.
  lavfi: fix incorrect comment.
  lavfi: remove avfilter_null_* from public API on next bump.
  lavfi: remove avfilter_default_* from public API on next bump.
  lavfi: deprecate default config_props() callback and refactor avfilter_config_links()
  avfiltergraph: smarter sample format selection.
  avconv: rename transcode_audio/video to decode_audio/video.
  asyncts: reset delta to 0 when it's not used.
  x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.
  dwt: return errors from ff_slice_buffer_init()

Conflicts:
ffmpeg.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/formats.c
libavfilter/version.h
libavfilter/vf_blackframe.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
libavfilter/vf_format.c
libavfilter/vf_showinfo.c
libavfilter/video.c
libavfilter/video.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavidec: simplify avi_read_idx1()
Michael Niedermayer [Wed, 23 May 2012 16:46:01 +0000 (18:46 +0200)]
avidec: simplify avi_read_idx1()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavidec: discard 0 packets even for sample_size==0 NI
Michael Niedermayer [Wed, 23 May 2012 16:42:27 +0000 (18:42 +0200)]
avidec: discard 0 packets even for sample_size==0 NI

Fixes Ticket1332

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoxsubdec: print frame size when too small
Michael Niedermayer [Wed, 23 May 2012 16:37:55 +0000 (18:37 +0200)]
xsubdec: print frame size when too small

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf: print the invalid tb in avpriv_set_pts_info()
Michael Niedermayer [Wed, 23 May 2012 14:46:39 +0000 (16:46 +0200)]
lavf: print the invalid tb in avpriv_set_pts_info()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoDo not leak extradata when encoding avui.
Carl Eugen Hoyos [Wed, 23 May 2012 14:48:40 +0000 (16:48 +0200)]
Do not leak extradata when encoding avui.

7 years agoavuienc: Use field_order to determine if a stream is interlaced.
Carl Eugen Hoyos [Wed, 23 May 2012 14:36:53 +0000 (16:36 +0200)]
avuienc: Use field_order to determine if a stream is interlaced.

7 years agoFix compilation with --disable-everything --enable-demuxer=ogg (--disable-yasm).
Carl Eugen Hoyos [Wed, 23 May 2012 14:09:48 +0000 (16:09 +0200)]
Fix compilation with --disable-everything --enable-demuxer=ogg (--disable-yasm).

7 years agoFix compilation with --disable-everything --enable-demuxer=flac (--disable-yasm).
Carl Eugen Hoyos [Wed, 23 May 2012 14:04:22 +0000 (16:04 +0200)]
Fix compilation with --disable-everything --enable-demuxer=flac (--disable-yasm).

7 years agoaf_amerge: compute output timestamp.
Nicolas George [Wed, 23 May 2012 11:14:27 +0000 (13:14 +0200)]
af_amerge: compute output timestamp.

Use the timestamps from the first input.

7 years agoaf_amerge: set samples rate in query_formats.
Nicolas George [Wed, 23 May 2012 10:58:15 +0000 (12:58 +0200)]
af_amerge: set samples rate in query_formats.

7 years agoffv1: fix decoder state_transition table
Michael Niedermayer [Wed, 23 May 2012 10:04:10 +0000 (12:04 +0200)]
ffv1: fix decoder state_transition table

This fixes a regression with ffv1.1 coder=1 decoding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoos_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2
Dave Yeo [Wed, 23 May 2012 20:34:13 +0000 (13:34 -0700)]
os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodwt: use av_freep()
Michael Niedermayer [Tue, 22 May 2012 21:58:46 +0000 (23:58 +0200)]
dwt: use av_freep()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 22 May 2012 21:40:58 +0000 (23:40 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dwt: check malloc calls
  ppc: Drop unused header regs.h
  af_resample: remove an extra space in the log output
  Convert vector_fmul range of functions to YASM and add AVX versions
  lavfi: add an audio split filter
  lavfi: rename vf_split.c to split.c

Conflicts:
doc/filters.texi
libavcodec/ppc/regs.h
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/f_split.c
libavfilter/split.c
libavfilter/version.h
libavfilter/vf_split.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agohttp: Add support for reading http POST reply headers
Samuel Pitoiset [Mon, 21 May 2012 09:27:10 +0000 (11:27 +0200)]
http: Add support for reading http POST reply headers

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Add http_shutdown() for ending writing of posts
Samuel Pitoiset [Mon, 21 May 2012 09:26:40 +0000 (11:26 +0200)]
http: Add http_shutdown() for ending writing of posts

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agotcp: Allow signalling end of reading/writing
Samuel Pitoiset [Mon, 21 May 2012 09:24:55 +0000 (11:24 +0200)]
tcp: Allow signalling end of reading/writing

tcp_shutdown() isn't needed at the moment, but is added for
consistency to explain how the function is supposed to be used.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavio: Add a function for signalling end of reading/writing
Samuel Pitoiset [Mon, 21 May 2012 09:24:54 +0000 (11:24 +0200)]
avio: Add a function for signalling end of reading/writing

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavfi: fix comment, audio is supported now.
Anton Khirnov [Mon, 21 May 2012 17:33:35 +0000 (19:33 +0200)]
lavfi: fix comment, audio is supported now.

7 years agolavfi: fix incorrect comment.
Anton Khirnov [Mon, 21 May 2012 17:30:07 +0000 (19:30 +0200)]
lavfi: fix incorrect comment.

poll_frame()/request_frame() are used for audio too.

7 years agolavfi: remove avfilter_null_* from public API on next bump.
Anton Khirnov [Sat, 19 May 2012 08:37:56 +0000 (10:37 +0200)]
lavfi: remove avfilter_null_* from public API on next bump.

Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.

7 years agolavfi: remove avfilter_default_* from public API on next bump.
Anton Khirnov [Sat, 19 May 2012 08:37:56 +0000 (10:37 +0200)]
lavfi: remove avfilter_default_* from public API on next bump.

Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.

7 years agolavfi: deprecate default config_props() callback and refactor avfilter_config_links()
Mina Nagy Zaki [Thu, 4 Aug 2011 12:47:00 +0000 (15:47 +0300)]
lavfi: deprecate default config_props() callback and refactor avfilter_config_links()

Link properties have to be checked after config_props() is called to
make sure everything is sane, so the default config_props() for output
links was redundant.

Remove now empty defaults.c

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavfiltergraph: smarter sample format selection.
Anton Khirnov [Sat, 19 May 2012 07:19:41 +0000 (09:19 +0200)]
avfiltergraph: smarter sample format selection.

7 years agoavconv: rename transcode_audio/video to decode_audio/video.
Anton Khirnov [Fri, 18 May 2012 10:46:11 +0000 (12:46 +0200)]
avconv: rename transcode_audio/video to decode_audio/video.

Those functions do only decoding now, encoding is run from
poll_filters().

7 years agoasyncts: reset delta to 0 when it's not used.
Anton Khirnov [Tue, 22 May 2012 18:44:07 +0000 (20:44 +0200)]
asyncts: reset delta to 0 when it's not used.

Fixes an invalid write.

7 years agox86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.
Justin Ruggles [Tue, 22 May 2012 01:21:36 +0000 (21:21 -0400)]
x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.

This is needed for older versions of yasm/nasm that do not support AVX.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoswr: check return value of swr_inject_silence/drop_output.
Michael Niedermayer [Tue, 22 May 2012 16:54:38 +0000 (18:54 +0200)]
swr: check return value of swr_inject_silence/drop_output.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibvorbis: only store version string if bitexact is not set.
Michael Niedermayer [Tue, 22 May 2012 15:18:39 +0000 (17:18 +0200)]
libvorbis: only store version string if bitexact is not set.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: check count argument of realloc_audio()
Michael Niedermayer [Tue, 22 May 2012 15:15:07 +0000 (17:15 +0200)]
swr: check count argument of realloc_audio()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoAdd Avid Meridien Uncompressed (AVUI) encoder.
Carl Eugen Hoyos [Tue, 22 May 2012 18:33:24 +0000 (20:33 +0200)]
Add Avid Meridien Uncompressed (AVUI) encoder.

7 years agomxfdec: fix frame height computation for mixed fields layout
Matthieu Bouron [Mon, 21 May 2012 11:05:01 +0000 (13:05 +0200)]
mxfdec: fix frame height computation for mixed fields layout

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovf_yadif: Fixed potential access violation on EOF.
Robert Nagy [Mon, 21 May 2012 22:14:48 +0000 (00:14 +0200)]
vf_yadif: Fixed potential access violation on EOF.

The correct invariant is (cur != NULL -> next != NULL). Not the other way around.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorawdec: force timestamps from codec to be used
Michael Niedermayer [Mon, 21 May 2012 12:33:09 +0000 (14:33 +0200)]
rawdec: force timestamps from codec to be used

This fixes playback timing with at least m4v files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompeg4videoparser: support using timestamps from codec.
Michael Niedermayer [Mon, 21 May 2012 12:36:21 +0000 (14:36 +0200)]
mpeg4videoparser: support using timestamps from codec.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavformat: add needs_parsing type to enable codec TS use.
Michael Niedermayer [Mon, 21 May 2012 12:32:24 +0000 (14:32 +0200)]
avformat: add needs_parsing type to enable codec TS use.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavcodec: add parser flag to indicate that codec TS are the only available and should...
Michael Niedermayer [Mon, 21 May 2012 12:31:20 +0000 (14:31 +0200)]
avcodec: add parser flag to indicate that codec TS are the only available and should be used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodwt: return errors from ff_slice_buffer_init()
Diego Biurrun [Tue, 22 May 2012 11:50:23 +0000 (13:50 +0200)]
dwt: return errors from ff_slice_buffer_init()

7 years agoshorten: fix lossy decoding
Paul B Mahol [Tue, 22 May 2012 11:56:18 +0000 (11:56 +0000)]
shorten: fix lossy decoding

Closes #1299, #1300 and #1301.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agodwt: check malloc calls
Jordi Ortiz [Tue, 22 May 2012 11:18:17 +0000 (13:18 +0200)]
dwt: check malloc calls

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoppc: Drop unused header regs.h
Diego Biurrun [Mon, 21 May 2012 06:47:11 +0000 (08:47 +0200)]
ppc: Drop unused header regs.h

7 years agodoc: add syntax.texi file
Stefano Sabatini [Thu, 3 May 2012 13:14:14 +0000 (15:14 +0200)]
doc: add syntax.texi file

7 years agoaf_resample: remove an extra space in the log output
Justin Ruggles [Mon, 21 May 2012 18:59:56 +0000 (14:59 -0400)]
af_resample: remove an extra space in the log output

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 21 May 2012 21:53:39 +0000 (23:53 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dwt: K&R prettyprinting cosmetics
  Remove libnut wrapper
  fate: change name of FATE samples location environment variable
  avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
  http: Factorize the code by adding http_read_header()

Conflicts:
configure
doc/APIchanges
doc/fate.texi
libavcodec/dwt.c
libavcodec/dwt.h
libavformat/Makefile
libavformat/avformat.h
libavformat/libnut.c
libavformat/matroskaenc.c
libavformat/utils.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoConvert vector_fmul range of functions to YASM and add AVX versions
Kieran Kunhya [Fri, 20 Apr 2012 19:49:30 +0000 (14:49 -0500)]
Convert vector_fmul range of functions to YASM and add AVX versions

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
7 years agoflvdec: reenable extradata passing code
Michael Niedermayer [Mon, 21 May 2012 18:21:55 +0000 (20:21 +0200)]
flvdec: reenable extradata passing code

This fixes passing junk in stream.
It should not have any user vissible effect.
We are discarding the new data in the decoder as no case is known
where it is needed but it causes problems if used.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi: add an audio split filter
Justin Ruggles [Mon, 21 May 2012 18:03:42 +0000 (14:03 -0400)]
lavfi: add an audio split filter

Based on current version of the asplit filter in FFmpeg written by
Stefano Sabatini and others.

7 years agolavfi: rename vf_split.c to split.c
Justin Ruggles [Mon, 21 May 2012 18:00:47 +0000 (14:00 -0400)]
lavfi: rename vf_split.c to split.c

This is in preparation for adding an audio split filter.

7 years agoaac: fix SCE in stereo case, this is surprisingly actually needed
Michael Niedermayer [Mon, 21 May 2012 13:38:41 +0000 (15:38 +0200)]
aac: fix SCE in stereo case, this is surprisingly actually needed

Fixes Ticket513

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaacdec: print debug note when unexpected SCE/CPE is encountered
Michael Niedermayer [Mon, 21 May 2012 15:55:11 +0000 (17:55 +0200)]
aacdec: print debug note when unexpected SCE/CPE is encountered

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibavcodec: fix side data split with 0 sized packets
Michael Niedermayer [Mon, 21 May 2012 18:16:35 +0000 (20:16 +0200)]
libavcodec: fix side data split with 0 sized packets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibavcodec: correct consumed bytes for decoders
Michael Niedermayer [Mon, 21 May 2012 18:12:46 +0000 (20:12 +0200)]
libavcodec: correct consumed bytes for decoders

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompeg4videodec: print more debug info for debug_pict_info
Michael Niedermayer [Mon, 21 May 2012 12:34:35 +0000 (14:34 +0200)]
mpeg4videodec: print more debug info for debug_pict_info

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoivi_common: skip null frames for all indeo variants
Michael Niedermayer [Sun, 20 May 2012 21:01:22 +0000 (23:01 +0200)]
ivi_common: skip null frames for all indeo variants

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodwt: K&R prettyprinting cosmetics
Jordi Ortiz [Sat, 19 May 2012 11:06:50 +0000 (13:06 +0200)]
dwt: K&R prettyprinting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1
Stefano Sabatini [Sun, 20 May 2012 13:20:47 +0000 (15:20 +0200)]
ffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1

The special-case behavior may complicate parsing when the
-show_format_entry option is used programmatically in a script.

The option default=nk=1 achieves the same purpose, if the objective is to
skip printing the single field key.

7 years agodoc/ffprobe: document that ffprobe.xsd can be retrieved at a certain ffmpeg.org url
Stefano Sabatini [Sun, 20 May 2012 13:16:20 +0000 (15:16 +0200)]
doc/ffprobe: document that ffprobe.xsd can be retrieved at a certain ffmpeg.org url

Address trac ticket #1265.

7 years agoRemove libnut wrapper
Diego Biurrun [Sun, 20 May 2012 21:46:40 +0000 (23:46 +0200)]
Remove libnut wrapper

libnut is unmaintained and known to be buggy; native NUT code exists.

7 years agofate: change name of FATE samples location environment variable
Diego Biurrun [Sun, 20 May 2012 14:10:42 +0000 (16:10 +0200)]
fate: change name of FATE samples location environment variable

FATE_SAMPLES is now used directly by the Makefiles, which induces the test
system to run a test with the value of the environment variable as name.
Renaming the environment variable to LIBAV_SAMPLES avoids this problem.

7 years agoavformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
James Zern [Thu, 26 May 2011 18:19:04 +0000 (20:19 +0200)]
avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 20 May 2012 20:41:58 +0000 (22:41 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  indeo: Make ivi_calc_band_checksum() static, it is only used in one file.
  indeo: Drop unused debug function ivi_check_band().
  avcodec/utils: cast a function argument to shut up a compiler warning
  truemotion1: remove disabled code
  fix typo in comment
  fate: fix dependencies for non-SAMPLES avconv tests
  indeo: check for invalid motion vectors
  indeo: check that band output buffer exists
  indeo: clear allocated band buffers
  indeo: track tile macroblock size
  indeo: check custom Huffman tables for errors
  factor out common decoding code for Indeo 4 and Indeo 5
  mp3: fix start band index for block type 2 in 8kHz audio
  lavf: change some (de)muxer names to lowercase
  lavf: make output format matching case insensitive

Conflicts:
libavcodec/indeo4.c
libavcodec/indeo5.c
libavcodec/ivi_common.c
libavcodec/utils.c
tests/fate/video.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: fix a crash with complex filters when pix_fmt is not specified
Matthieu Bouron [Fri, 4 May 2012 13:40:34 +0000 (15:40 +0200)]
ffmpeg: fix a crash with complex filters when pix_fmt is not specified

ffmpeg -i in.mxf -filter_complex "[0:0]fieldorder=tff" out.wav will
fail with an error message instead of crashing.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: drop get_sync_ipts() and drop related special case for video
Michael Niedermayer [Sun, 20 May 2012 12:12:48 +0000 (14:12 +0200)]
ffmpeg: drop get_sync_ipts() and drop related special case for video

Idea found in a commit from Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf: also use codec aspect ratio in av_guess_sample_aspect_ratio
Marton Balint [Sun, 20 May 2012 13:53:02 +0000 (15:53 +0200)]
lavf: also use codec aspect ratio in av_guess_sample_aspect_ratio

Use codec aspect ratio for frame aspect ratio if AVFrame is NULL.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agohttp: Factorize the code by adding http_read_header()
Samuel Pitoiset [Sun, 20 May 2012 14:20:56 +0000 (16:20 +0200)]
http: Factorize the code by adding http_read_header()

This function is used for reading http reply headers.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agovsrc_mandelbrot: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:41:14 +0000 (14:41 +0200)]
vsrc_mandelbrot: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agovsrc_life: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:39:35 +0000 (14:39 +0200)]
vsrc_life: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agovsrc_cellauto: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:37:19 +0000 (14:37 +0200)]
vsrc_cellauto: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agovf_ass: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:32:03 +0000 (14:32 +0200)]
vf_ass: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agox11grab: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:18:15 +0000 (14:18 +0200)]
x11grab: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agov4l2: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:11:03 +0000 (14:11 +0200)]
v4l2: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agosdl: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:09:10 +0000 (14:09 +0200)]
sdl: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agobktr: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 11:57:03 +0000 (13:57 +0200)]
bktr: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agovsrc_testsrc: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 11:53:50 +0000 (13:53 +0200)]
vsrc_testsrc: use AV_OPT_TYPE_IMAGE_SIZE.

7 years agoopt: add AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 11:53:19 +0000 (13:53 +0200)]
opt: add AV_OPT_TYPE_IMAGE_SIZE.

7 years agoexr: fix header parsing
Jean First [Tue, 15 May 2012 14:34:58 +0000 (16:34 +0200)]
exr: fix header parsing

the header in the sample provided for ticket #1306 is not parsed correctly and thus
ffmpeg tries to decode the sample instead of abording the decoding.

I tested it with two other exr samples I have - one float, one half float - and
they still decode correctly.

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovf_scale: support dynamically changing input parameters.
Michael Niedermayer [Tue, 15 May 2012 14:01:54 +0000 (16:01 +0200)]
vf_scale: support dynamically changing input parameters.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffplay: Use input picture parameters in input_request_frame().
Michael Niedermayer [Tue, 15 May 2012 14:02:49 +0000 (16:02 +0200)]
ffplay: Use input picture parameters in input_request_frame().

Fixes Ticket122

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoid3v2: reject APICs with size of 0
Piotr Bandurski [Sat, 19 May 2012 18:58:17 +0000 (20:58 +0200)]
id3v2: reject APICs with size of 0

fixes ticket #1324

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflicvideo: support 256-bytes extradata
Piotr Bandurski [Sat, 19 May 2012 00:09:18 +0000 (02:09 +0200)]
flicvideo: support 256-bytes extradata

sample:

http://www.datafilehost.com/download-ab1156a9.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaasc: support 16bpp
Piotr Bandurski [Sat, 19 May 2012 00:07:45 +0000 (02:07 +0200)]
aasc: support 16bpp

sample:

http://www.datafilehost.com/download-b881f3f6.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: move setting big_picture.pts up
Michael Niedermayer [Sun, 20 May 2012 12:11:48 +0000 (14:11 +0200)]
ffmpeg: move setting big_picture.pts up

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavu/tree: perform minor fixes to av_tree_insert() documentation
Stefano Sabatini [Fri, 18 Feb 2011 21:49:40 +0000 (22:49 +0100)]
lavu/tree: perform minor fixes to av_tree_insert() documentation

7 years agoindeo: Make ivi_calc_band_checksum() static, it is only used in one file.
Diego Biurrun [Sun, 20 May 2012 13:59:30 +0000 (15:59 +0200)]
indeo: Make ivi_calc_band_checksum() static, it is only used in one file.

7 years agoindeo: Drop unused debug function ivi_check_band().
Diego Biurrun [Sat, 19 May 2012 14:41:42 +0000 (16:41 +0200)]
indeo: Drop unused debug function ivi_check_band().

7 years agobuffersrc: cosmetic: reindent.
Nicolas George [Sun, 20 May 2012 13:41:58 +0000 (15:41 +0200)]
buffersrc: cosmetic: reindent.

7 years agoavcodec/utils: cast a function argument to shut up a compiler warning
Diego Biurrun [Wed, 11 Apr 2012 13:00:37 +0000 (15:00 +0200)]
avcodec/utils: cast a function argument to shut up a compiler warning

libavcodec/utils.c:251: note: expected ‘const uint8_t *’ but argument is of type ‘const short int *’

7 years agotruemotion1: remove disabled code
Diego Biurrun [Fri, 29 Jul 2011 10:48:45 +0000 (12:48 +0200)]
truemotion1: remove disabled code

7 years agofix typo in comment
Kostya Shishkov [Sun, 20 May 2012 11:55:33 +0000 (13:55 +0200)]
fix typo in comment

7 years agofate: fix dependencies for non-SAMPLES avconv tests
Mans Rullgard [Sat, 19 May 2012 21:56:01 +0000 (22:56 +0100)]
fate: fix dependencies for non-SAMPLES avconv tests

The encode/decode tests should all depend on avconv.  Since
avconv requires libavfilter, there is no need to enable those
tests selectively.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agocmdutils: allow to specify a stream by its ID.
Nicolas George [Sun, 20 May 2012 10:30:16 +0000 (12:30 +0200)]
cmdutils: allow to specify a stream by its ID.

The stream can be specified as "#129" or "#0x81".
It is especially useful for VOBs dumped from a DVD,
where the language-id mapping is available externally
and the probing can find the streams in a random order.

7 years agoffmpeg: change AVFMT_RAWPICTURE pts to reduce diff to qatar
Michael Niedermayer [Sun, 20 May 2012 10:29:33 +0000 (12:29 +0200)]
ffmpeg: change AVFMT_RAWPICTURE pts to reduce diff to qatar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: random cosmectics to reduce diff to qatar
Michael Niedermayer [Sun, 20 May 2012 10:24:49 +0000 (12:24 +0200)]
ffmpeg: random cosmectics to reduce diff to qatar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>