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>
12 years ago
Michael Niedermayer
a6ec1e49f6
matroskadec: matroska_parse_rm_audio: remove unused parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6d87781758
mp3dec: fix seeking without xing TOC
...
fixes regression from the xing toc support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
Michael Niedermayer
0da50055eb
matroskadec: fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6902c3acb0
Merge commit '870e75524aa0d00ebcd1d15589c8d29b84af1565'
...
* commit '870e75524aa0d00ebcd1d15589c8d29b84af1565':
matroskadec: validate lace_size when parsed
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
2f39d7ff3f
lavfi/select: make lavc dependency optional.
12 years ago
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>
12 years ago
Michael Niedermayer
1df2e3c707
Merge commit '8d4dd55c37b14ecea596f3477b35bf6c20688d8b'
...
* commit '8d4dd55c37b14ecea596f3477b35bf6c20688d8b':
matroskadec: refactor matroska_decode_buffer
Conflicts:
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
jamal
33f92a3ea2
configure: fix git domain check with out of tree build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
db0087dc1d
mxfdec: fix index_tables check in mxf_read_seek()
...
Approved-by: Tjoppen
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
5bd6a4800d
tests: add fate-ffprobe test
12 years ago
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.
12 years ago
Stefano Sabatini
98f753ec51
lavfi/testsrc: increase precision of the duration parameter
...
Compute duration in microseconds, rather than in timebase units. Decrease
approximation errors.
12 years ago
Michael Niedermayer
16e52c86ba
error_resilience: guess_dc: check malloc failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d2981b8ef1
h263dec: disable coded dimensions = 0 handling
...
This code causes infinite loops
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
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>
12 years ago
Matthieu Bouron
d57ca5e5a8
mxfenc: support 23.976 and 24 frame rates
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
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>
12 years ago
Michael Niedermayer
d1974e05d1
j2k: fix "static is not at beginning of declaration" warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
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>
12 years ago
Michael Niedermayer
168bc5f2c5
mov: fix 32/64 format type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
36c2694d83
dcadec: fix "set but not used" variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c1f3a4d1e3
libavfilter/filtfmts: fix argv/argc checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f5326dc68e
bavfilter/filtfmts: fix type for channel layouts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
270a325f0c
av_des_init: suppress warning about unused parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
50d1f4437b
mp3dec: read Xing frame TOC index
12 years ago
Anton Khirnov
2d1a1a7f62
mp3dec: use named constants for Xing header flags
12 years ago
John Van Sickle
9bf41210a9
libx264: add support for nal-hrd, required for Blu-ray streams.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
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>
12 years ago
Luca Barbato
c831ebf616
matroskadec: split frame parsing
12 years ago
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.
12 years ago
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.
12 years ago
Luca Barbato
c9a39cec70
matroskadec: return meaningful errors in matroska_decode_buffer
12 years ago
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.
12 years ago
Luca Barbato
7d8431004a
matroskadec: properly support BlockDuration
12 years ago
Luca Barbato
2d0e7713f9
matroskadec: split laces parsing
12 years ago
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>
12 years ago
Dale Curtis
df1d84121b
matroskadec: fix incorrect unsigned->signed conversion
12 years ago
Luca Barbato
581281e242
matroskadec: check realloc in lzo encoding
...
Make all the compression encodings behave the same way.
12 years ago
Luca Barbato
cd4739c4f2
matroska: honor error_recognition on unknown doctypes
12 years ago
Alex Converse
df6c3f9fb3
tiffdec: Add support for GRAY16LE.
...
Tested with the GraphicsMagick TIFF archive and Libav generated files.
12 years ago
Alex Converse
298ed797e1
tiffenc: Add support for little endian RGB48 and GRAY16
12 years ago
Janne Grunau
8701f4f8e8
mpeg4: support frame parameter changes with frame-mt
...
Adds a flag context_reinit to MpegEncContext to relieable keep track
of frame parameter changes which require a context reinitialization.
This is required for broken inputs which change the frame size but
error out before the context can be reinitialized.
12 years ago
Janne Grunau
01fc5d6609
mpegvideo: check ff_find_unused_picture() return value for errors
12 years ago
Janne Grunau
32c7589bb7
mpegvideo: release frame buffers before freeing them
...
Fixes triggering an assert in avcodec_default_release_buffer()
introduced in 1b3439b30
.
12 years ago
Andrey Utkin
cb3591e697
avutil: Cast AV_NOPTS_VALUE to int64_t explicitly
...
Thus comparsion against int64_t value will not raise warning
(from -Wextra set) about comparsion of unsigned and signed integer
commiter added () and changed the litteral to unsigned
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d5fd610dab
wmavoice: initialize best_hist_ptr to NULL to prevent (incorrect) warning.
...
As a sideeffect this makes the code more robust if a future change leaves
a path where it may be uninitialized otherwise.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago