Michael Niedermayer
a40f43db64
error_concealment: optimize guess_dc()
...
Fixes Ticket811
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8d960fbc70
ipmovie: fix FPE
...
Fixed Ticket807
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2b73cddd40
proresdec: Check yuv slice data sizes.
...
Fixes overread
Fixes Ticket812
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tim Nicholson
7028c9f421
Clearer explanation of audio channel mapping restrictions
13 years ago
Nicolas George
1f797a5826
doc: add a list of errno codes on some systems.
13 years ago
Nicolas George
20af3af575
mov: replace AVERROR(EOF) with AVERROR_EOF.
13 years ago
Michael Niedermayer
a40f6a5c69
mpeg12dec: reset first_field with picture_structure changes.
...
Fixes Ticket809
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1fbb859cdf
Merge remote-tracking branch 'tjoppen/mxf_fixes_20111220'
...
* tjoppen/mxf_fixes_20111220:
mxfdec: Sanity-check SampleRate
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
mxfdec: Remove unused variables
mxfdec: Make sure x < index_table->nb_ptses
mxfdec: Ignore the last entry in Avid's index table segments
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c3846e3eba
lavc: Do not fail audio decoding if user has set a custom get_buffer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
077b086dea
avio: remove ENOTSUP mention in doxy as its not available on all supported platforms
...
and thus cannot be used
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3be1a4ba9a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc: always align height by 32 pixel
raw: add 10bit YUV definitions
nut: support 10bit YUV
mpegvideo_enc: separate declarations and statements
oma: make header compile standalone
vp3: Reorder some functions to fix VP3 build with Theora disabled.
build: fix standalone compilation of ADX encoder
build: fix standalone compilation of ADPCM decoders
build: fix standalone compilation of mpc7/mpc8 decoders
4xm: Use bytestream2 functions to prevent overreads
bytestream: add a new set of bytestream functions with overread checking
mpegts: Suppress invalid timebase warnings on DMB streams.
mpegts: Fix typo in handling sections in the PMT.
vc1dec: Use the right pointer type for the tmp pointer
Conflicts:
libavcodec/4xm.c
libavcodec/utils.c
libavcodec/vc1dec.c
libavcodec/vp3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
134aaa79f7
indeo3: Fix null ptr dereference
...
Fixes Ticket804
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fc739b79ad
golomb: fix end of bitstream check
...
Fixes Ticket806
Bug found by Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
7feb7f16a8
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
...
Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a
files that lack an index would cause SIGSEGV.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Rafaël Carré
37c0dc626d
lavc: always align height by 32 pixel
...
Interlaced content for most codec requires it.
This patch is a stop-gap pending a serious rework to support
codecs with non 16 pixel macroblocks.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
91b1e6f0c6
raw: add 10bit YUV definitions
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
432f0e5b7d
nut: support 10bit YUV
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Diego Biurrun
1ce1578e4e
mpegvideo_enc: separate declarations and statements
...
libavcodec/mpegvideo_enc.c:1209: warning: ISO C90 forbids mixed declarations and code
13 years ago
Diego Biurrun
a55eb1586c
oma: make header compile standalone
13 years ago
Diego Biurrun
bc4d156140
vp3: Reorder some functions to fix VP3 build with Theora disabled.
13 years ago
Diego Biurrun
19277d9335
build: fix standalone compilation of ADX encoder
...
The encoder depends on the common code, so link against it.
13 years ago
Diego Biurrun
18725fcdc2
build: fix standalone compilation of ADPCM decoders
...
The generic ADPCM codes depends on the ADPCM data tables.
13 years ago
Diego Biurrun
606c9297b9
build: fix standalone compilation of mpc7/mpc8 decoders
...
These decoders depend on the mpegaudio DSP code.
13 years ago
Michael Niedermayer
f27930cd9a
indeo5: Fix null pointer dereference
...
Fixes Ticket803
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
452406bd5b
ff*: Fix duplicatedly printed version info with -version
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Aneesh Dogra
1443ea93d9
4xm: Use bytestream2 functions to prevent overreads
...
Fixes Bug 110.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Aneesh Dogra
fd22616c59
bytestream: add a new set of bytestream functions with overread checking
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Nicolas George
b0aaf304a7
Replace PATCHWELCOME by relevant error codes.
...
This supersedes commit 154c0a8.
The bug was also reported by Rafaël Carré.
13 years ago
Alex Converse
41bdd4adc4
mpegts: Suppress invalid timebase warnings on DMB streams.
...
timestamp_len and timestamp_res intialize to zero.
13 years ago
Alex Converse
d9b89b23df
mpegts: Fix typo in handling sections in the PMT.
...
This was an error rebasing 4682a1dc3a
for
commit. The "pes" variable guaranteed to be NULL in that block.
13 years ago
Michael Niedermayer
154c0a8c98
replace ENOTSUP by AVERROR_PATCHWELCOME
...
This unbreaks compilation
Found by: jb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Derek Buitenhuis
d1c1e350c6
doc: make developer.texi point to correct fate doc
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c1acd58198
roq: fix excessive memory alloc
...
Fixes Ticket802
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a8469223f6
alac: Check for bitstream overread
...
Fixes Ticket801
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
65f0f9183b
tm2: Check remaining size before init_get_bits()
...
Fixes a null pointer dereference.
Fixes 2nd half of Ticket800
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3c7f75bd84
avidec: move eof check before continue.
...
Fixes a infinite loop
Fixes half of Ticket800
Bug found by Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alexander Strasser
abab44086f
doc: fate: Support building a plain text version
...
Also create a plain text (.txt) file from fate.texi if the makeinfo
program is available.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alexander Strasser
a4872cfefe
doc: fate: Move documentation from .txt to .texi
...
The fate.txt file is ported to texinfo format. Therefore the
fate.txt is renamed to fate.texi. The contents of the already
existing fate.texi file are discarded.
However there should be no loss of information. If you find
anything missing, please report.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alexander Strasser
e5cbf24e45
doc: build: TEXIDEP: Recognize verbatim includes
...
When generating the .dep files for .texi sources, verbatim includes
(@verbatiminclude ) should also be taken into account.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
f1622a17fd
lavd/lavfi: reindent block in lavfi_read_header
13 years ago
Stefano Sabatini
4d475f7eb3
lavd/lavfi: add check in case pix_fmts cannot be allocated in lavfi_read_header()
13 years ago
Tomas Härdin
5b718009b2
mxfdec: Sanity-check SampleRate
...
This avoids a SIGFPE if SampleRate is missing or set to naughty values.
13 years ago
Tomas Härdin
1888bd1b6d
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
...
Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a
files that lack an index would cause SIGSEGV.
13 years ago
Michael Niedermayer
aa1c590b29
swr: fix assert failure
...
Bug found by: Oana Stratulat
GCI-id: 7211207
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1fa0ee127e
Changelog: split version next and 0.9
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
6168e5812a
Fix off-by-one error when decoding rigth-to-left targa.
13 years ago
Martin Storsjö
b797f73520
vc1dec: Use the right pointer type for the tmp pointer
...
This fixes warnings about assignment from incompatible
pointer type.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Tomas Härdin
54cbbdd25a
mxfdec: Remove unused variables
13 years ago
Tomas Härdin
6e9081f4d8
mxfdec: Make sure x < index_table->nb_ptses
...
Without this the demuxer will SIGSEGV on files with IndexEntryCount < IndexDuration
13 years ago
Tomas Härdin
085249a379
mxfdec: Ignore the last entry in Avid's index table segments
...
The last entry is the total size of the essence container.
Previously a TemporalOffset error would be logged, even though segments like
these are expected.
13 years ago