Stefano Sabatini
31aa5b1a78
lavfi/hue: fix crash when resetting the saturation expression
...
Previously when saturation was reinited, the old value was freed when
setting options, and freed again in PARSE_EXPRESSION().
2012-09-21 12:43:52 +02:00
Stefano Sabatini
0f40105aaa
ffprobe: print codec_long_name only when available
...
Avoid possible segmentation fault if codec_long_name is defined as
NULL (for example if --enable-small).
2012-09-21 09:27:06 +02:00
Michael Niedermayer
fb96ac469a
nutdec: fix mixup of nb_streams and timebase_count
...
Fixes out of array read, should fix ffprove fate failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-21 06:29:24 +02:00
Michael Niedermayer
6ab1166c77
nutdec: fix type of intermediate variable for ts calculation.
...
Prior to this it could theoretically become negative and read
out of array.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-21 06:27:38 +02:00
Michael Niedermayer
3dc24600ba
vsrc_testsrc: Fix case without a specified duration
...
Fixes regression since 98f753ec51
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-21 03:00:15 +02:00
Andrey Utkin
cc07a7925e
Add av_copy_packet()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-21 01:03:31 +02:00
Andrey Utkin
d33908a5fc
Move av_dup_packet() copy logic to separate procedure
...
Done to simplify next commit introducing av_copy_packet()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-21 00:49:12 +02:00
Michael Niedermayer
a6ec1e49f6
matroskadec: matroska_parse_rm_audio: remove unused parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 23:43:20 +02:00
Michael Niedermayer
6d87781758
mp3dec: fix seeking without xing TOC
...
fixes regression from the xing toc support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 22:00:52 +02:00
Michael Niedermayer
5864ce13d1
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mp3dec: read Xing frame TOC index
mp3dec: use named constants for Xing header flags
libx264: add support for nal-hrd, required for Blu-ray streams.
mov: support random access point grouping
matroskadec: properly support BlockDuration
Conflicts:
libavcodec/libx264.c
libavformat/isom.h
libavformat/matroskadec.c
libavformat/mov.c
libavformat/mp3dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 21:46:35 +02:00
Michael Niedermayer
8c51ea5489
Merge commit 'c831ebf61629d219ebcaa9f02d262e67aad09d83'
...
* commit 'c831ebf61629d219ebcaa9f02d262e67aad09d83':
matroskadec: split frame parsing
matroskadec: split laces parsing
Conflicts:
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 20:39:47 +02:00
Michael Niedermayer
b8044972c4
Merge commit '117d8c6d1f1c187ffc6098d9618457e00534e013'
...
* commit '117d8c6d1f1c187ffc6098d9618457e00534e013':
matroska: implement support for ProRes
matroska: implement support for ALAC
Conflicts:
libavformat/matroskaenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 19:43:38 +02:00
Michael Niedermayer
0da50055eb
matroskadec: fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 19:12:07 +02:00
Michael Niedermayer
6902c3acb0
Merge commit '870e75524aa0d00ebcd1d15589c8d29b84af1565'
...
* commit '870e75524aa0d00ebcd1d15589c8d29b84af1565':
matroskadec: validate lace_size when parsed
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 19:11:46 +02:00
Clément Bœsch
2f39d7ff3f
lavfi/select: make lavc dependency optional.
2012-09-20 18:45:47 +02:00
Michael Niedermayer
a16c512374
Merge commit 'c9a39cec70603f662f4c326b21b11c4f0112079a'
...
* commit 'c9a39cec70603f662f4c326b21b11c4f0112079a':
matroskadec: return meaningful errors in matroska_decode_buffer
matroskadec: fix incorrect unsigned->signed conversion
Conflicts:
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 13:40:47 +02:00
Michael Niedermayer
1df2e3c707
Merge commit '8d4dd55c37b14ecea596f3477b35bf6c20688d8b'
...
* commit '8d4dd55c37b14ecea596f3477b35bf6c20688d8b':
matroskadec: refactor matroska_decode_buffer
Conflicts:
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 13:32:43 +02:00
jamal
33f92a3ea2
configure: fix git domain check with out of tree build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 12:54:09 +02:00
Michael Niedermayer
db0087dc1d
mxfdec: fix index_tables check in mxf_read_seek()
...
Approved-by: Tjoppen
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 12:54:00 +02:00
Stefano Sabatini
5bd6a4800d
tests: add fate-ffprobe test
2012-09-20 12:13:18 +02:00
Stefano Sabatini
53d71335cb
lavd/lavfi: push frames until the last sink is EOF
...
Previously the device was returning EOF when the first sink was ending,
with the current change the device will continue to return frames until
all the sinks are EOF, which seems the most expected behavior.
2012-09-20 12:13:17 +02:00
Stefano Sabatini
98f753ec51
lavfi/testsrc: increase precision of the duration parameter
...
Compute duration in microseconds, rather than in timebase units. Decrease
approximation errors.
2012-09-20 12:13:17 +02:00
Michael Niedermayer
16e52c86ba
error_resilience: guess_dc: check malloc failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 05:38:53 +02:00
Michael Niedermayer
d2981b8ef1
h263dec: disable coded dimensions = 0 handling
...
This code causes infinite loops
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 04:38:46 +02:00
Michael Niedermayer
61ced71d79
Merge commit '581281e242609a222233a2e5538b89dfb88fb18e'
...
* commit '581281e242609a222233a2e5538b89dfb88fb18e':
matroskadec: check realloc in lzo encoding
matroska: honor error_recognition on unknown doctypes
tiffdec: Add support for GRAY16LE.
tiffenc: Add support for little endian RGB48 and GRAY16
mpeg4: support frame parameter changes with frame-mt
mpegvideo: check ff_find_unused_picture() return value for errors
mpegvideo: release frame buffers before freeing them
configure: msvc: default to 'lib' as 'ar' tool
build: support some non-standard ar variants
Conflicts:
libavcodec/h263dec.c
libavcodec/mpegvideo.c
libavcodec/tiff.c
libavcodec/tiffenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 03:20:29 +02:00
Matthieu Bouron
d57ca5e5a8
mxfenc: support 23.976 and 24 frame rates
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 02:40:18 +02:00
Matthieu Bouron
906a263813
mxfenc: factorize samples per frame code
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 02:40:10 +02:00
Michael Niedermayer
d1974e05d1
j2k: fix "static is not at beginning of declaration" warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 02:13:52 +02:00
Michael Niedermayer
161c6d1682
configure: Detect old git domain and inform the user about it.
...
Based on code by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-20 00:53:56 +02:00
Michael Niedermayer
168bc5f2c5
mov: fix 32/64 format type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-19 23:36:35 +02:00
Michael Niedermayer
36c2694d83
dcadec: fix "set but not used" variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-19 23:29:37 +02:00
Michael Niedermayer
c1f3a4d1e3
libavfilter/filtfmts: fix argv/argc checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-19 22:43:03 +02:00
Michael Niedermayer
f5326dc68e
bavfilter/filtfmts: fix type for channel layouts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-19 22:19:06 +02:00
Michael Niedermayer
270a325f0c
av_des_init: suppress warning about unused parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-19 21:57:58 +02:00
Anton Khirnov
50d1f4437b
mp3dec: read Xing frame TOC index
2012-09-19 20:59:45 +02:00
Anton Khirnov
2d1a1a7f62
mp3dec: use named constants for Xing header flags
2012-09-19 20:59:44 +02:00
John Van Sickle
9bf41210a9
libx264: add support for nal-hrd, required for Blu-ray streams.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-09-19 20:59:24 +02:00
Yusuke Nakamura
d17d0ec8c2
mov: support random access point grouping
...
Frames described by this grouping are the starter of a closed or
an open GOP.
This is useful for open GOP of H.264 stream which is not described
by sync sample atom.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-09-19 20:34:15 +02:00
Luca Barbato
c831ebf616
matroskadec: split frame parsing
2012-09-19 20:34:14 +02:00
Luca Barbato
117d8c6d1f
matroska: implement support for ProRes
...
Support Matroska native formatting.
On demuxing prepend a Frame container atom (32bit big endian encoded
frame size and 'icpf' string).
On muxing remove it.
2012-09-19 20:34:14 +02:00
Luca Barbato
870e75524a
matroskadec: validate lace_size when parsed
...
Stricter validation, explicitly exit on misparsing and some error
forwarding from the ebml parsing functions used.
2012-09-19 20:34:14 +02:00
Luca Barbato
c9a39cec70
matroskadec: return meaningful errors in matroska_decode_buffer
2012-09-19 20:34:14 +02:00
Luca Barbato
8d4dd55c37
matroskadec: refactor matroska_decode_buffer
...
Make MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP behave like
the other encodings and spare few lines of boilerplate code.
2012-09-19 20:34:14 +02:00
Luca Barbato
7d8431004a
matroskadec: properly support BlockDuration
2012-09-19 20:34:14 +02:00
Luca Barbato
2d0e7713f9
matroskadec: split laces parsing
2012-09-19 20:34:14 +02:00
Moritz Bunkus
8071dca3d5
matroska: implement support for ALAC
...
Support Matroska native formatting.
On demuxing reconstruct the 36-bytes QuickTime atom that the ALAC
decoder expects by prepending the "atom size", "tag" and
"tag version" fields missing from the Matroska's CodecPrivate
element.
On muxing remove the initial 12 bytes
Sample files are available:
http://www.bunkus.org/videotools/mkvtoolnix/samples/alac/alac-in-matroska.mka
and the CoreAudio file it was created from with today's mkvmerge:
http://www.bunkus.org/videotools/mkvtoolnix/samples/alac/alac-in-matroska-source.caf
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-09-19 20:34:14 +02:00
Dale Curtis
df1d84121b
matroskadec: fix incorrect unsigned->signed conversion
2012-09-19 20:34:14 +02:00
Luca Barbato
581281e242
matroskadec: check realloc in lzo encoding
...
Make all the compression encodings behave the same way.
2012-09-19 20:34:13 +02:00
Luca Barbato
cd4739c4f2
matroska: honor error_recognition on unknown doctypes
2012-09-19 20:34:13 +02:00
Alex Converse
df6c3f9fb3
tiffdec: Add support for GRAY16LE.
...
Tested with the GraphicsMagick TIFF archive and Libav generated files.
2012-09-19 11:05:36 -07:00