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
Michael Niedermayer
0edf7ebcd6
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
h264: clear trailing bits in partially parsed NAL units
vc1: Handle WVC1 interlaced stream
xl: Fix overreads
mpegts: rename payload_index to payload_size
segment: introduce segmented chain muxer
lavu: add AVERROR_BUG error value
avplay: clear pkt_temp when pkt is freed.
qcelpdec: K&R formatting cosmetics
qcelpdec: cosmetics: drop some pointless parentheses
x86: conditionally compile dnxhd encoder optimizations
Revert "h264: skip start code search if the size of the nal unit is known"
swscale: fix formatting and indentation of unscaled conversion routines.
h264: skip start code search if the size of the nal unit is known
cljr: fix buf_size sanity check
cljr: Check if width and height are positive integers
Conflicts:
libavcodec/cljr.c
libavcodec/vc1dec.c
libavformat/Makefile
libavformat/mpegtsenc.c
libavformat/segment.c
libswscale/swscale_unscaled.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c8a441efe2
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: remove global video state
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
729ebb2f18
h264: clear trailing bits in partially parsed NAL units
...
Trailing bits are likely to be non-zero if the NAL unit is truncated.
Clearing the bits make overreads of the bitstream less likely in this
case. Fixes playback of
http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 which
has a forbidden byte sequence of 0x00 0x00 0x00 in it SPS.
13 years ago
Marton Balint
708df4ac66
ffplay: remove global video state
...
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Aneesh Dogra
0a6aff6936
vc1: Handle WVC1 interlaced stream
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
b08a742526
siff: simplify code by using ffio_limit()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Aneesh Dogra
00aad121d8
xl: Fix overreads
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
1dcce49e10
soxdec: check av_malloc return.
...
Bug found by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
1c66862472
mpegts: rename payload_index to payload_size
...
It holds the size of the current payload.
13 years ago
Luca Barbato
02e8f03296
segment: introduce segmented chain muxer
...
It behaves similarly to image2 muxer
13 years ago
Luca Barbato
1ee5b5e823
lavu: add AVERROR_BUG error value
...
It should be used to mark codepath that can be reached only through
programming error.
13 years ago
Michael Niedermayer
c9aa4cfdb1
avplay: clear pkt_temp when pkt is freed.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Michael Niedermayer
1d0ae92a25
eamad: pass & check errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
03a9c9932d
eamad: fix excessive memory allocation.
...
Fixes Ticket792
Bug found by Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Asen Lekov
25c2d76b68
qcelpdec: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
2fd291846b
qcelpdec: cosmetics: drop some pointless parentheses
13 years ago
Michael Niedermayer
32a92d3258
sws: Print an error in case of av_malloc() failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
90cad5edf6
swscale: Fix several (real world) integer overflows.
...
Fixes Ticket795
Bug Found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago