]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agompeg2: 12LSB w/h of 0 is not allowed in compliant videos thus this also needs AV_EF_C...
Michael Niedermayer [Mon, 18 Mar 2013 16:48:52 +0000 (17:48 +0100)]
mpeg2: 12LSB w/h of 0 is not allowed in compliant videos thus this also needs AV_EF_COMPLIANT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 18 Mar 2013 16:43:43 +0000 (17:43 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  print_options: do not generate docs for options without enc or dec flags
  mpeg12: do not fail on zero dimensions in the sequence header.

Conflicts:
libavcodec/mpeg12.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '50c449ac24fbb4c03c15d2e2026cef2204b80385'
Michael Niedermayer [Mon, 18 Mar 2013 16:30:53 +0000 (17:30 +0100)]
Merge commit '50c449ac24fbb4c03c15d2e2026cef2204b80385'

* commit '50c449ac24fbb4c03c15d2e2026cef2204b80385':
  iff: validate CMAP palette size
  asfenc: return error on negative timestamp

Conflicts:
libavformat/iff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoprint_options: do not generate docs for options without enc or dec flags
Anton Khirnov [Fri, 22 Feb 2013 22:01:54 +0000 (23:01 +0100)]
print_options: do not generate docs for options without enc or dec flags

Those are not usable from the avtools, so mentioning them in the
manpages just confuses the reader.

11 years agompeg12: do not fail on zero dimensions in the sequence header.
Anton Khirnov [Sat, 16 Mar 2013 12:08:32 +0000 (13:08 +0100)]
mpeg12: do not fail on zero dimensions in the sequence header.

The total frame size is a combination of the 12 bits in the sequence
header and 2 more bits in the the sequence extension. While the
specification explicitly forbids the dimensions from the sequence header
from being 0 (thus ruling out multiples of 4096), such videos
apparrently exist in the wild so we should attempt to decode them.

Based on a patch by Michael Niedermayer <michaelni@gmx.at>

Fixes Bug 416.

11 years agoiff: validate CMAP palette size
Kostya Shishkov [Sun, 17 Mar 2013 19:22:19 +0000 (20:22 +0100)]
iff: validate CMAP palette size

Fixes CVE-2013-2495

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
CC: libav-stable@libav.org
11 years agoasfenc: return error on negative timestamp
Luca Barbato [Sun, 17 Mar 2013 14:13:43 +0000 (15:13 +0100)]
asfenc: return error on negative timestamp

According to the specification the timestamp is represented by a 32bit
unsigned.

CC: libav-stable@libav.org
11 years agolavc,lavu: fix two doxy mixup between h/v chroma shift.
Clément Bœsch [Mon, 18 Mar 2013 08:04:11 +0000 (09:04 +0100)]
lavc,lavu: fix two doxy mixup between h/v chroma shift.

11 years agolavfi/pad: fix horizontal/vertical shift confusion.
Clément Bœsch [Mon, 18 Mar 2013 07:51:55 +0000 (08:51 +0100)]
lavfi/pad: fix horizontal/vertical shift confusion.

11 years agoavutil/frame: typo
Michael Niedermayer [Mon, 18 Mar 2013 03:47:27 +0000 (04:47 +0100)]
avutil/frame: typo

found by ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/frame: document alignment and padding requirements
Michael Niedermayer [Sun, 17 Mar 2013 02:20:16 +0000 (03:20 +0100)]
avutil/frame: document alignment and padding requirements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/ebur128: add metadata injection.
Clément Bœsch [Fri, 15 Mar 2013 01:52:12 +0000 (02:52 +0100)]
lavfi/ebur128: add metadata injection.

11 years agoaasc: fix pointer vs value error
Michael Niedermayer [Mon, 18 Mar 2013 01:10:10 +0000 (02:10 +0100)]
aasc: fix pointer vs value error

Fixes Ticket2365

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agobuffersrc: fix w/h error
Michael Niedermayer [Mon, 18 Mar 2013 01:00:57 +0000 (02:00 +0100)]
buffersrc: fix w/h error

Found-by: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: flush audio packet on seeking
Michael Niedermayer [Sun, 17 Mar 2013 23:00:02 +0000 (00:00 +0100)]
rmdec: flush audio packet on seeking

Fixes Ticket1605

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/developer: Add "security fixes" to the release process steps
Michael Niedermayer [Sun, 17 Mar 2013 21:52:20 +0000 (22:52 +0100)]
doc/developer: Add "security fixes" to the release process steps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Sun, 17 Mar 2013 20:55:20 +0000 (21:55 +0100)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  fate: add a test for -filter_complex / -lavfi without input.
  ffmpeg: make -lavfi an alias for -filter_complex.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/get_pool: remove dead operations whichs result is never used.
Michael Niedermayer [Sun, 17 Mar 2013 15:51:40 +0000 (16:51 +0100)]
avutil/get_pool: remove dead operations whichs result is never used.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/get_pool: Remove redundant initial atomic operation
Michael Niedermayer [Sun, 17 Mar 2013 15:37:06 +0000 (16:37 +0100)]
avutil/get_pool: Remove redundant initial atomic operation

602->442 dezicycles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: add a test for -filter_complex / -lavfi without input.
Nicolas George [Sun, 17 Mar 2013 12:32:57 +0000 (13:32 +0100)]
fate: add a test for -filter_complex / -lavfi without input.

11 years agoffmpeg: make -lavfi an alias for -filter_complex.
Nicolas George [Sat, 16 Mar 2013 16:08:33 +0000 (17:08 +0100)]
ffmpeg: make -lavfi an alias for -filter_complex.

11 years agompeg: Add passing DVD navigation packets (startcode 0x1bf) to caller to allow better...
Richard [Sun, 17 Mar 2013 09:21:12 +0000 (10:21 +0100)]
mpeg: Add passing DVD navigation packets (startcode 0x1bf) to caller to allow better playback handling of DVDs.

The two types of packets (PCI and DSI) are passed untouched but combined by the new codec ID AV_CODEC_ID_DVD_NAV.
 The first 980 bytes in the packet contain the PCI data. The next 1018 are the DSI data.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Sun, 17 Mar 2013 13:30:26 +0000 (14:30 +0100)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavfi/buffersink: fix header.
  lavfi/buffersrc: disable deprecated warnings.
  lavfi/buffersrc: check channel count changes.
  lavfi/buffersrc: set channel layout if it is known.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_refs: fix typo in refs fallback check
Michael Niedermayer [Sun, 17 Mar 2013 13:15:15 +0000 (14:15 +0100)]
h264_refs: fix typo in refs fallback check

Fixes regression since 01a0283
Fixes Ticket2371

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/swapuv: remove deprecated base field use
Stefano Sabatini [Sun, 17 Mar 2013 00:08:51 +0000 (01:08 +0100)]
lavfi/swapuv: remove deprecated base field use

11 years agoffplay: remove options skiploop, skipidct, skipframe
Stefano Sabatini [Sun, 17 Mar 2013 10:37:50 +0000 (11:37 +0100)]
ffplay: remove options skiploop, skipidct, skipframe

The corresponding codec options (skip_loop, skip_idct, skip_frame) can be
set in a more flexible way.

This technically causes a user interface break, but since the options
were not even documented and we just released a major version that should
not be a serious issue.

11 years agoffplay: remove unused variable "codec"
Stefano Sabatini [Sun, 17 Mar 2013 10:33:17 +0000 (11:33 +0100)]
ffplay: remove unused variable "codec"

Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 17 Mar 2013 11:58:57 +0000 (12:58 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '23f4c5acc438366d84cacf49e33b0bcd72f04937'
Michael Niedermayer [Sun, 17 Mar 2013 11:32:07 +0000 (12:32 +0100)]
Merge commit '23f4c5acc438366d84cacf49e33b0bcd72f04937'

* commit '23f4c5acc438366d84cacf49e33b0bcd72f04937':
  document the release process

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/buffersink: fix header.
Nicolas George [Sat, 16 Mar 2013 16:57:04 +0000 (17:57 +0100)]
lavfi/buffersink: fix header.

Move non-obsolete functions, structures and constants outside
the scope of "#if FF_API_AVFILTERBUFFER".

Add attribute_deprecated to av_buffersink_get_buffer_ref()
and av_buffersink_poll_frame().

Add doxygen for av_buffersink_get_frame_flags().

11 years agolavfi/buffersrc: disable deprecated warnings.
Nicolas George [Sat, 16 Mar 2013 16:46:55 +0000 (17:46 +0100)]
lavfi/buffersrc: disable deprecated warnings.

11 years agolavfi/buffersrc: check channel count changes.
Nicolas George [Sat, 16 Mar 2013 16:45:22 +0000 (17:45 +0100)]
lavfi/buffersrc: check channel count changes.

11 years agosndio_dec: add missing #include for av_gettime()
Paul B Mahol [Sun, 17 Mar 2013 11:10:26 +0000 (11:10 +0000)]
sndio_dec: add missing #include for av_gettime()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/buffersrc: set channel layout if it is known.
Nicolas George [Thu, 14 Mar 2013 18:52:59 +0000 (19:52 +0100)]
lavfi/buffersrc: set channel layout if it is known.

Introduced in 01649c7, lost in the API change.

11 years agolavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers
Anton Khirnov [Sat, 16 Mar 2013 17:09:17 +0000 (18:09 +0100)]
lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers

It is supposed to be height * linesize, not width * linesize.
Thanks to Hendrik Leppkes for pointing out the bug.

11 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sun, 17 Mar 2013 04:24:35 +0000 (05:24 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: add -af option
  ffplay: use refcounted frames for audio
  ffplay: use frame->pts if available for setting the audio clock
  ffplay: restructure audio stream opening code

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_qpel: fix another forgotten int stride
Michael Niedermayer [Sun, 17 Mar 2013 04:20:02 +0000 (05:20 +0100)]
h264_qpel: fix another forgotten int stride

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc: remove unecessary a64enc include.
Clément Bœsch [Sun, 17 Mar 2013 02:44:14 +0000 (03:44 +0100)]
lavc: remove unecessary a64enc include.

11 years agoffplay: add -af option
Marton Balint [Mon, 25 Feb 2013 21:00:30 +0000 (22:00 +0100)]
ffplay: add -af option

Based on a patch by Stefano Sabatini <stefasab@gmail.com>:
http://ffmpeg.org/pipermail/ffmpeg-devel/2013-February/138452.html

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: use refcounted frames for audio
Marton Balint [Wed, 13 Mar 2013 00:26:21 +0000 (01:26 +0100)]
ffplay: use refcounted frames for audio

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: use frame->pts if available for setting the audio clock
Marton Balint [Sat, 2 Mar 2013 19:21:52 +0000 (20:21 +0100)]
ffplay: use frame->pts if available for setting the audio clock

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: restructure audio stream opening code
Marton Balint [Sat, 2 Mar 2013 13:38:23 +0000 (14:38 +0100)]
ffplay: restructure audio stream opening code

Preparation for -af support.

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agolavfi/alphaextract: fix frame memleak.
Clément Bœsch [Sun, 17 Mar 2013 01:57:43 +0000 (02:57 +0100)]
lavfi/alphaextract: fix frame memleak.

11 years agoavutil/frame: fix video buffer allocation
Michael Niedermayer [Sun, 17 Mar 2013 01:18:08 +0000 (02:18 +0100)]
avutil/frame: fix video buffer allocation

The padding was lost during porting from avcodec
Should fix out of array accesses

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agotests/filter-metadata-scenedetect: update reference
Stefano Sabatini [Sun, 17 Mar 2013 01:02:59 +0000 (02:02 +0100)]
tests/filter-metadata-scenedetect: update reference

Fix reference after f7ab23b0d0a8b72a62bd9386a1e48ccc2cf47576.
+10l to me, this time aliens are not involved.

11 years agotests/eval: fix reference after b2098d2417a085d33d99738dd7f963c7b260a0bf
Stefano Sabatini [Sun, 17 Mar 2013 00:56:53 +0000 (01:56 +0100)]
tests/eval: fix reference after b2098d2417a085d33d99738dd7f963c7b260a0bf

+10l to me, I blame the aliens.

11 years agolavfi/thumbnail: replace frame unref with free.
Clément Bœsch [Sun, 17 Mar 2013 00:46:22 +0000 (01:46 +0100)]
lavfi/thumbnail: replace frame unref with free.

Fixes memleak spotted by FATE.

11 years agoffprobe: remove deprecated frame "reference" field
Stefano Sabatini [Sat, 16 Mar 2013 00:22:45 +0000 (01:22 +0100)]
ffprobe: remove deprecated frame "reference" field

11 years agolavfi/settb: add support for named options
Stefano Sabatini [Fri, 15 Mar 2013 23:29:55 +0000 (00:29 +0100)]
lavfi/settb: add support for named options

11 years agolavfi/blackframe: add support for named options
Stefano Sabatini [Fri, 15 Mar 2013 23:07:15 +0000 (00:07 +0100)]
lavfi/blackframe: add support for named options

11 years agodoc/filters: add bit-slicing example in lutyuv docs
Stefano Sabatini [Wed, 13 Mar 2013 21:36:06 +0000 (22:36 +0100)]
doc/filters: add bit-slicing example in lutyuv docs

11 years agolavu/eval: add bitor and bitand functions
Stefano Sabatini [Wed, 13 Mar 2013 13:09:10 +0000 (14:09 +0100)]
lavu/eval: add bitor and bitand functions

Warning note suggested by Reimar.

11 years agolavfi: let gcc realign the stack on public graph driving functions
Hendrik Leppkes [Fri, 15 Mar 2013 19:44:57 +0000 (20:44 +0100)]
lavfi: let gcc realign the stack on public graph driving functions

The functions which actually drive the filter graph by pushing
frames through it need to ensure an aligned stack for SIMD functions.

This fixes a crash in YADIF filter when using a mingw build in a MSVC application.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/delogo: 10l forgotten trailing NULL in shorthand.
Clément Bœsch [Sat, 16 Mar 2013 22:37:58 +0000 (23:37 +0100)]
lavfi/delogo: 10l forgotten trailing NULL in shorthand.

Regression since de3e0ab3.

11 years agoyadif: remove an 'm' from the LOAD macro definition
James Darnley [Sat, 16 Mar 2013 20:42:27 +0000 (21:42 +0100)]
yadif: remove an 'm' from the LOAD macro definition

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyadif: remove repeated check on width
James Darnley [Sat, 16 Mar 2013 20:42:26 +0000 (21:42 +0100)]
yadif: remove repeated check on width

The filter already checks that width (and height) are greater than 3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyadif: cosmetic indentation from previous commits
James Darnley [Sat, 16 Mar 2013 20:42:25 +0000 (21:42 +0100)]
yadif: cosmetic indentation from previous commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyadif: x86 assembly for 9 to 14-bit samples
James Darnley [Sat, 16 Mar 2013 20:42:24 +0000 (21:42 +0100)]
yadif: x86 assembly for 9 to 14-bit samples

These smaller samples do not need to be unpacked to double words
allowing the code to process more pixels every iteration (still 2 in MMX
but 6 in SSE2).  It also avoids emulating the missing double word
instructions on older instruction sets.

Like with the previous code for 16-bit samples this has been tested on
an Athlon64 and a Core2Quad.

Athlon64:
1809275 decicycles in C,    32718 runs, 50 skips
 911675 decicycles in mmx,  32727 runs, 41 skips, 2.0x faster
 495284 decicycles in sse2, 32747 runs, 21 skips, 3.7x faster

Core2Quad:
 921363 decicycles in C,     32756 runs, 12 skips
 486537 decicycles in mmx,   32764 runs,  4 skips, 1.9x faster
 293296 decicycles in sse2,  32759 runs,  9 skips, 3.1x faster
 284910 decicycles in ssse3, 32759 runs,  9 skips, 3.2x faster

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyadif: x86 assembly for 16-bit samples
James Darnley [Sat, 16 Mar 2013 20:42:23 +0000 (21:42 +0100)]
yadif: x86 assembly for 16-bit samples

This is a fairly dumb copy of the assembly for 8-bit samples but it
works and produces identical output to the C version.  The options have
been tested on an Athlon64 and a Core2Quad.

Athlon64:
1810385 decicycles in C,    32726 runs, 42 skips
1080744 decicycles in mmx,  32744 runs, 24 skips, 1.7x faster
 818315 decicycles in sse2, 32735 runs, 33 skips, 2.2x faster

Core2Quad:
 924025 decicycles in C,     32750 runs, 18 skips
 623995 decicycles in mmx,   32767 runs,  1 skips, 1.5x faster
 406223 decicycles in sse2,  32764 runs,  4 skips, 2.3x faster
 387842 decicycles in ssse3, 32767 runs,  1 skips, 2.4x faster
 307726 decicycles in sse4,  32763 runs,  5 skips, 3.0x faster

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoDo not (re-)set libx264 parameter b_tff if interlaced encoding was not requested.
Carl Eugen Hoyos [Sat, 16 Mar 2013 19:13:44 +0000 (20:13 +0100)]
Do not (re-)set libx264 parameter b_tff if interlaced encoding was not requested.

Reconfiguring can break x264 lossless encoding.

Fixes ticket #2165.

11 years agodocument the release process
Reinhard Tartler [Sun, 24 Feb 2013 18:11:07 +0000 (19:11 +0100)]
document the release process

11 years agoffmpeg_opt: add OPT_INPUT to -fix_sub_duration and -canvas_size.
Nicolas George [Sat, 16 Mar 2013 10:05:45 +0000 (11:05 +0100)]
ffmpeg_opt: add OPT_INPUT to -fix_sub_duration and -canvas_size.

11 years agolavfi/avcodec: deprecate remainders of the avcodec glue code
Hendrik Leppkes [Wed, 13 Mar 2013 20:01:27 +0000 (21:01 +0100)]
lavfi/avcodec: deprecate remainders of the avcodec glue code

Since lavfi works natively with AVFrame now, these functions are no longer
necessary and can be removed in a future bump.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoappend_packet_chunked: Remove unused initialization.
Michael Niedermayer [Sat, 16 Mar 2013 16:03:41 +0000 (17:03 +0100)]
append_packet_chunked: Remove unused initialization.

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

* qatar/master:
  af_join: do not leak input frames.
  asrc_anullsrc: return EOF, not -1

Conflicts:
libavfilter/asrc_anullsrc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f4281f457194a6a4489fbd7423e2ab2e13c6d4d9'
Michael Niedermayer [Sat, 16 Mar 2013 15:56:30 +0000 (16:56 +0100)]
Merge commit 'f4281f457194a6a4489fbd7423e2ab2e13c6d4d9'

* commit 'f4281f457194a6a4489fbd7423e2ab2e13c6d4d9':
  asrc_anullsrc: do not set samplerate and channel layout explicitly

Conflicts:
libavfilter/asrc_anullsrc.c

No change to FFmpeg due to semantic difference between the filter sources

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b'
Michael Niedermayer [Sat, 16 Mar 2013 15:38:11 +0000 (16:38 +0100)]
Merge commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b'

* commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b':
  vf_showinfo: remove its useless init function
  AVOptions: fix using named constants with child contexts.

Conflicts:
libavutil/opt.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '9676b9a2cdc4a90611188fc48d8d388e427997c5'
Michael Niedermayer [Sat, 16 Mar 2013 15:27:47 +0000 (16:27 +0100)]
Merge commit '9676b9a2cdc4a90611188fc48d8d388e427997c5'

* commit '9676b9a2cdc4a90611188fc48d8d388e427997c5':
  AVOption: remove an unused function parameter.
  filters.texi: restore mistakenly removed section name for noformat
  avfiltergraph: use sizeof(var) instead of sizeof(type)

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: test both direct and indirect paths in delogo filter.
Clément Bœsch [Sat, 16 Mar 2013 15:22:56 +0000 (16:22 +0100)]
fate: test both direct and indirect paths in delogo filter.

11 years agofate: test both direct and indirect paths in hue filter.
Clément Bœsch [Sat, 16 Mar 2013 15:17:37 +0000 (16:17 +0100)]
fate: test both direct and indirect paths in hue filter.

11 years agoMerge commit '42c7c61ab25809620b8c8809b3da73e25f5bbaaf'
Michael Niedermayer [Sat, 16 Mar 2013 15:09:37 +0000 (16:09 +0100)]
Merge commit '42c7c61ab25809620b8c8809b3da73e25f5bbaaf'

* commit '42c7c61ab25809620b8c8809b3da73e25f5bbaaf':
  avfiltergraph: replace AVFilterGraph.filter_count with nb_filters

Conflicts:
doc/APIchanges
libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h
libavfilter/graphparser.c
libavfilter/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: test both direct and indirect paths in hqdn3d and gradfun.
Clément Bœsch [Thu, 14 Mar 2013 20:59:42 +0000 (21:59 +0100)]
fate: test both direct and indirect paths in hqdn3d and gradfun.

11 years agolavfi: add perms and aperms filters.
Clément Bœsch [Wed, 13 Mar 2013 04:59:20 +0000 (05:59 +0100)]
lavfi: add perms and aperms filters.

11 years agoMerge commit '556aab8f11b045a21182eee32413aa78d5c8539b'
Michael Niedermayer [Sat, 16 Mar 2013 14:50:43 +0000 (15:50 +0100)]
Merge commit '556aab8f11b045a21182eee32413aa78d5c8539b'

* commit '556aab8f11b045a21182eee32413aa78d5c8539b':
  lavfi: use designated initializers in avfilter_class

Conflicts:
libavfilter/avfilter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'aa3c77998404cc32233cb76e961ca27db8565459'
Michael Niedermayer [Sat, 16 Mar 2013 14:12:21 +0000 (15:12 +0100)]
Merge commit 'aa3c77998404cc32233cb76e961ca27db8565459'

* commit 'aa3c77998404cc32233cb76e961ca27db8565459':
  lavf: sanity check size in av_get/append_packet().

Conflicts:
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6'
Michael Niedermayer [Sat, 16 Mar 2013 13:10:09 +0000 (14:10 +0100)]
Merge commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6'

* commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6':
  lzo: fix overflow checking in copy_backptr()
  flacdec: simplify bounds checking in flac_probe()
  atrac3: avoid oversized shifting in decode_bytes()

Conflicts:
libavformat/flacdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoAdd raw VC-1 muxer to match demuxer.
Reimar Döffinger [Sun, 9 Dec 2012 12:17:52 +0000 (13:17 +0100)]
Add raw VC-1 muxer to match demuxer.

This is admittedly kind of pointless since usually -f image2pipe
can be used for the purpose, but this is more user-friendly.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agovc1testenc: give muxer same name as demuxer
Reimar Döffinger [Sun, 9 Dec 2012 12:11:58 +0000 (13:11 +0100)]
vc1testenc: give muxer same name as demuxer

Otherwise ffmpeg -formats claims that we only support demuxing
of that format.
To keep compatibility the struct could be duplicated instead,
but this seems almost like overkill for such a rare format.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoMake ff_win32_open more robust.
Reimar Döffinger [Sun, 10 Mar 2013 19:03:19 +0000 (20:03 +0100)]
Make ff_win32_open more robust.

- Make MultiByteToWideChar fail when it encounters invalid encoding.
  Without this, invalid characters might just be skipped
- When MultiByteToWideChar fails, assume the file name is in CP_ACP
  and open it via normal open function, even when the file will be
  written
- When malloc fails return error instead of crashing

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agompeg12: reduce hwaccel-related code duplication.
Reimar Döffinger [Sun, 24 Feb 2013 16:21:53 +0000 (17:21 +0100)]
mpeg12: reduce hwaccel-related code duplication.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoaf_join: do not leak input frames.
Anton Khirnov [Wed, 13 Mar 2013 19:43:35 +0000 (20:43 +0100)]
af_join: do not leak input frames.

11 years agoasrc_anullsrc: return EOF, not -1
Anton Khirnov [Tue, 12 Mar 2013 19:17:32 +0000 (20:17 +0100)]
asrc_anullsrc: return EOF, not -1

11 years agoasrc_anullsrc: do not set samplerate and channel layout explicitly
Anton Khirnov [Tue, 12 Mar 2013 19:14:29 +0000 (20:14 +0100)]
asrc_anullsrc: do not set samplerate and channel layout explicitly

They are auto-negotiated.

11 years agovf_showinfo: remove its useless init function
Anton Khirnov [Tue, 12 Mar 2013 18:45:56 +0000 (19:45 +0100)]
vf_showinfo: remove its useless init function

Filter private data is memset to 0 so there is no point in explicitly
initing anything to 0.

11 years agoAVOptions: fix using named constants with child contexts.
Anton Khirnov [Tue, 12 Mar 2013 17:21:27 +0000 (18:21 +0100)]
AVOptions: fix using named constants with child contexts.

The named constant needs to be searched for in the same object on which
the option is set, i.e. target_obj.

11 years agoAVOption: remove an unused function parameter.
Anton Khirnov [Tue, 12 Mar 2013 17:09:48 +0000 (18:09 +0100)]
AVOption: remove an unused function parameter.

11 years agofilters.texi: restore mistakenly removed section name for noformat
Anton Khirnov [Mon, 25 Feb 2013 22:01:11 +0000 (23:01 +0100)]
filters.texi: restore mistakenly removed section name for noformat

11 years agoavfiltergraph: use sizeof(var) instead of sizeof(type)
Anton Khirnov [Mon, 25 Feb 2013 11:14:56 +0000 (12:14 +0100)]
avfiltergraph: use sizeof(var) instead of sizeof(type)

11 years agoavfiltergraph: replace AVFilterGraph.filter_count with nb_filters
Anton Khirnov [Mon, 25 Feb 2013 11:12:36 +0000 (12:12 +0100)]
avfiltergraph: replace AVFilterGraph.filter_count with nb_filters

This is more consistent with the naming in the rest of Libav.

11 years agolavfi: use designated initializers in avfilter_class
Anton Khirnov [Mon, 25 Feb 2013 11:09:01 +0000 (12:09 +0100)]
lavfi: use designated initializers in avfilter_class

11 years agochangelog: add support for Monkey's Audio versions from 3.93
Compn [Sat, 16 Mar 2013 03:41:03 +0000 (23:41 -0400)]
changelog: add support for Monkey's Audio versions from 3.93

11 years agolavd/v4l2: silence libv4l2 logging
Giorgio Vazzana [Fri, 8 Mar 2013 12:03:43 +0000 (13:03 +0100)]
lavd/v4l2: silence libv4l2 logging

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodpxenc: fix data offset
ArnoB [Thu, 14 Mar 2013 17:35:55 +0000 (18:35 +0100)]
dpxenc: fix data offset

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavd/lavfi: upgrade to AVFrame.
Nicolas George [Tue, 12 Mar 2013 13:21:27 +0000 (14:21 +0100)]
lavd/lavfi: upgrade to AVFrame.

Fix a memory leak because the compat implementation of
AV_BUFFERSINK_FLAG_PEEK is not identical to the previous one.

11 years agolavf: sanity check size in av_get/append_packet().
Anton Khirnov [Tue, 19 Feb 2013 16:20:35 +0000 (17:20 +0100)]
lavf: sanity check size in av_get/append_packet().

To avoid allocating ridiculous amounts of memory for corrupted files,
read the input in chunks limited to filesize or an arbitrary large
amount when that is not known (chosen to be 50M).

11 years agolavc & lavf: replace deprecated av_log* functions
Paul B Mahol [Fri, 15 Mar 2013 17:13:52 +0000 (17:13 +0000)]
lavc & lavf: replace deprecated av_log* functions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoyadif: correct strides in filter_edges_16bit
James Darnley [Fri, 15 Mar 2013 15:37:33 +0000 (16:37 +0100)]
yadif: correct strides in filter_edges_16bit

The C code treats the data as arrays of uint16_t so strides must not
be in bytes but in pixels.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter: avoid direct access to AVFrame.channels
Michael Niedermayer [Fri, 15 Mar 2013 15:13:53 +0000 (16:13 +0100)]
avfilter: avoid direct access to AVFrame.channels

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo: Fix exported qp table offest
Michael Niedermayer [Fri, 15 Mar 2013 13:33:24 +0000 (14:33 +0100)]
mpegvideo: Fix exported qp table offest

Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomatroskadec: avoid integer overflow
Michael Niedermayer [Fri, 15 Mar 2013 12:48:04 +0000 (13:48 +0100)]
matroskadec: avoid integer overflow

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