ffmpeg/libavcodec
Michael Niedermayer 02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
..
alpha Communicate proper aliasing to gcc (needed for 4.1). 2005-06-19 21:46:14 +00:00
armv4l IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org) 2005-06-28 22:46:36 +00:00
i386 sort H.264 mmx dsp functions into their own file 2005-06-02 20:45:35 +00:00
liba52 attribute_used 2004-11-14 22:05:21 +00:00
libpostproc x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com) 2005-06-27 00:55:29 +00:00
mlib update the API for the idct function 2004-03-15 01:21:01 +00:00
ppc Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjørn Skjæret: cisc, broadpark no) 2005-07-01 09:37:35 +00:00
ps2 credit update 2004-03-13 19:21:58 +00:00
sh4 the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>) 2003-06-21 01:11:31 +00:00
sparc whitespace cleanup patch by (James A. Morrison <ja2morri>@<csclub>dot<uwaterloo>point<ca>) 2004-11-21 01:47:36 +00:00
.cvsignore * cleanup 2002-04-26 07:18:57 +00:00
4xm.c Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") 2005-04-24 17:21:11 +00:00
8bps.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
a52dec.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
aasc.c Autodesk Animator Studio Codec (AASC) video decoder, courtesy of 2005-04-03 05:02:08 +00:00
ac3.h * these vars could be either static or extern (compilation fix gcc-3.5) 2004-09-30 15:02:07 +00:00
ac3dec.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
ac3enc.c While adding stereo rematrixing, I came across something that needs to 2005-05-05 14:10:52 +00:00
ac3tab.h make the tables static 2004-06-26 10:08:49 +00:00
adpcm.c adding a few const 2005-06-01 21:19:00 +00:00
adx.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
alac.c 100l - this has only worked on big endian 2005-07-02 19:43:23 +00:00
allcodecs.c subtitle codec type support 2005-06-03 13:59:38 +00:00
amr.c 04_AMR_no_debug_output.patch by (Calcium | calcium nurs or jp) 2005-03-22 18:28:15 +00:00
apiexample.c apiexample fix by (Chip: szarlada, freemail hu) 2005-06-07 20:57:15 +00:00
asv1.c ff_reverse to utils.c patch by (Roine Gustafsson )roine users.sourceforge net) 2005-05-07 19:24:07 +00:00
avcodec.h IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org) 2005-06-28 22:46:36 +00:00
beosthread.c added a lock/unlock_lib pair to allow extern progs to serialize access to lavc. 2005-01-29 20:09:33 +00:00
bitstream.c LE bitstream reader based upon a patch by (Balatoni Denes <dbalatoni programozo hu) 2005-05-11 01:46:13 +00:00
bitstream.h spelling fixes 2005-06-17 15:02:53 +00:00
bswap.h Better ARM support for mplayer/ffmpeg, ported from atty fork 2005-05-26 14:32:46 +00:00
cabac.c fixing selftest 2005-01-11 03:18:08 +00:00
cabac.h decode h264 end-of-slice flag 2005-05-29 18:18:13 +00:00
cinepak.c Ignore palette for grayscale files, all my samples are inverted with 2004-06-27 16:06:15 +00:00
cljr.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
common.h uint_fast64_t emulation by (Wolfram Gloger: wmglo, dent med uni-muenchen de) 2005-06-07 14:12:15 +00:00
cyuv.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
dct-test.c 10l 2003-10-25 19:44:37 +00:00
dpcm.c support for Sierra Online audio files and Apple QuickDraw codec, 2004-09-28 03:09:49 +00:00
dsputil.c H.264 lossless mode 2005-06-17 08:24:35 +00:00
dsputil.h IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org) 2005-06-28 22:46:36 +00:00
dtsdec.c 10l (gcc 2.95 compilation) 2004-09-12 17:35:54 +00:00
dv.c a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net] 2005-05-10 20:39:11 +00:00
dvbsub.c subtitle codec type support 2005-06-03 13:59:38 +00:00
dvdata.h * I was finally convinced. And besides, if err it's better to err with 2004-09-14 06:58:24 +00:00
dvdsub.c subtitle codec type support 2005-06-03 13:59:38 +00:00
error_resilience.c Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") 2005-04-24 17:21:11 +00:00
eval.c simplify 2005-01-17 18:25:32 +00:00
faac.c av_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>) 2004-02-23 16:07:30 +00:00
faad.c Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") 2005-04-24 17:21:11 +00:00
faandct.c some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-18 17:09:46 +00:00
faandct.h * adding integer/floating point AAN implementations for DCT 2-4-8 2003-10-25 00:32:54 +00:00
fdctref.c per file doxy 2003-03-06 11:32:04 +00:00
fft-test.c printf -> av_log patch by (Benjamin Larsson <>banan student.ltu se) 2005-04-04 21:47:50 +00:00
fft.c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>) 2004-03-13 21:43:24 +00:00
ffv1.c #defines for strict_std_compliance and split between inofficial extensions and non standarized things 2005-05-08 20:15:42 +00:00
flac.c Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") 2005-04-24 17:21:11 +00:00
flicvideo.c various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
fraps.c signature has an 'x' 2005-05-17 23:09:59 +00:00
g726.c #defines for strict_std_compliance and split between inofficial extensions and non standarized things 2005-05-08 20:15:42 +00:00
golomb.c inttypes.h patch by (Chip <szarlada at freemail dot hu>) 2004-01-22 12:09:14 +00:00
golomb.h shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>) 2005-02-26 03:36:04 +00:00
h261.c switch to native time bases 2005-04-30 21:43:59 +00:00
h261data.h H261 fixing and cleaning: 2004-11-12 01:21:34 +00:00
h263.c spelling fixes 2005-06-17 15:02:53 +00:00
h263data.h adding a few const 2005-06-01 21:19:00 +00:00
h263dec.c spelling fixes 2005-06-17 15:02:53 +00:00
h264.c parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed 2005-07-02 19:39:58 +00:00
h264data.h typo in cabac tables 2005-06-08 00:40:41 +00:00
h264idct.c decode H.264 with 8x8 transform. 2005-06-02 21:15:20 +00:00
huffyuv.c #defines for strict_std_compliance and split between inofficial extensions and non standarized things 2005-05-08 20:15:42 +00:00
idcinvideo.c Off-by-one bug in libavcodec/idcinvideo.c, caused 2005-02-16 22:42:41 +00:00
imgconvert_template.h avcodec const correctness patch by (Drew Hess <dhess at ilm dot com>) 2003-09-29 15:44:59 +00:00
imgconvert.c segfault fix 2005-07-11 00:43:21 +00:00
imgresample.c dissallow sprintf 2005-01-12 00:59:42 +00:00
indeo2.c Here is the patch suggested by: unkaggregate, users sf net 2005-07-09 21:39:29 +00:00
indeo2data.h support the LE reader, so it can be tested a little 2005-05-11 01:50:46 +00:00
indeo3.c indeo3 for bigendian patch by (demo-n <demo-n users.sourceforge net) 2005-03-06 20:07:41 +00:00
indeo3data.h use const data - began to make code more portable 2003-09-09 22:56:25 +00:00
integer.c more comments 2004-07-15 14:06:39 +00:00
integer.h arbitrary precision integer support 2004-05-04 02:51:18 +00:00
interplayvideo.c 10l 2005-02-21 17:52:23 +00:00
jfdctfst.c move identical code into its own function 2003-10-30 22:51:02 +00:00
jfdctint.c move identical code into its own function 2003-10-30 22:51:02 +00:00
jrevdct.c porting optimizations from 4x4 dct to 8x8 2004-09-26 17:36:53 +00:00
lcl.c Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") 2005-04-24 17:21:11 +00:00
libgsm.c libgsm warper by (Alban Bedel: albeu, free fr) 2005-05-22 23:39:11 +00:00
loco.c Fix upside-down picture for BGR24 images (fixes pig-loco-rgb.avi) 2005-04-08 21:34:48 +00:00
mace.c Stereo MACE fix by Burkhard Plaum <plaum AT ipf DOT uni-stuttgart DOT de> 2005-02-01 15:13:27 +00:00
Makefile x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com) 2005-06-27 00:55:29 +00:00
mdct.c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>) 2004-03-13 21:43:24 +00:00
mdec.c avoid UPDATE_CACHE() in GET_RL_VLC() if not needed 2005-04-18 20:07:48 +00:00
mem.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
mjpeg.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
motion_est_template.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
motion_est.c spelling fixes 2005-06-17 15:02:53 +00:00
motion_test.c per file doxy 2003-03-06 11:32:04 +00:00
mp3lameaudio.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
mpeg4data.h adding a few const 2005-06-01 21:19:00 +00:00
mpeg12.c fix decoding of (broken) files with f_code=0 2005-07-11 22:15:03 +00:00
mpeg12data.h adding a few const 2005-06-01 21:19:00 +00:00
mpegaudio.c a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net] 2005-05-10 20:39:11 +00:00
mpegaudio.h dithering for the mpeg audio decoder 2005-01-30 14:04:56 +00:00
mpegaudiodec.c adding a few const 2005-06-01 21:19:00 +00:00
mpegaudiodectab.h adding a few const 2005-06-01 21:19:00 +00:00
mpegaudiotab.h adding a few const 2005-06-01 21:19:00 +00:00
mpegvideo.c spelling fixes 2005-06-17 15:02:53 +00:00
mpegvideo.h spelling fixes 2005-06-17 15:02:53 +00:00
msmpeg4.c put most codecs under ifdefs 2005-05-02 22:14:42 +00:00
msmpeg4data.h adding a few const 2005-06-01 21:19:00 +00:00
msrle.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
msvideo1.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
oggtheora.c theora decoding using libtheora 2005-05-11 16:42:15 +00:00
oggvorbis.c accept old extradata format 2005-05-19 11:45:10 +00:00
parser.c off by 1 error bugfix 2005-06-29 08:41:01 +00:00
pcm.c buffer overflow 2005-02-13 23:36:04 +00:00
png.c a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net] 2005-05-10 20:39:11 +00:00
pnm.c a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net] 2005-05-10 20:39:11 +00:00
pthread.c 10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>) 2004-05-26 20:04:49 +00:00
qdrw.c Check pointers before writing to memory 2005-01-23 21:36:24 +00:00
qpeg.c free that last frame 2005-03-28 20:40:21 +00:00
qtrle.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
ra144.c * fixing a few of gcc 'clean-code' warnings 2004-10-06 08:50:46 +00:00
ra144.h moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big? 2003-06-29 19:11:55 +00:00
ra288.c * fixing a few of gcc 'clean-code' warnings 2004-10-06 08:50:46 +00:00
ra288.h moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big? 2003-06-29 19:11:55 +00:00
rangecoder.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
rangecoder.h kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
ratecontrol.c switch to native time bases 2005-04-30 21:43:59 +00:00
rational.c more comments 2004-07-15 14:06:39 +00:00
rational.h more comments 2004-07-15 14:06:39 +00:00
raw.c a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net] 2005-05-10 20:39:11 +00:00
resample2.c av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>) 2005-01-12 18:25:48 +00:00
resample.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
roqvideo.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
rpza.c typo fix by ("Todd.Kirby" doubleshot pacbell net) 2005-04-24 11:08:07 +00:00
rv10.c PIX_FMT_NONE and related fixes 2005-04-25 18:29:06 +00:00
shorten.c shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>) 2005-02-26 03:36:04 +00:00
simple_idct.c per file doxy 2003-03-06 11:32:04 +00:00
simple_idct.h per file doxy 2003-03-06 11:32:04 +00:00
smc.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
snow.c #defines for strict_std_compliance and split between inofficial extensions and non standarized things 2005-05-08 20:15:42 +00:00
sonic.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
sp5x.h adding a few const 2005-06-01 21:19:00 +00:00
svq1_cb.h some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-18 17:09:46 +00:00
svq1_vlc.h motion estimation for SVQ1 2004-05-12 02:03:24 +00:00
svq1.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
svq3.c various fixes related to the non alt_bitstream_reader 2005-04-18 12:08:16 +00:00
truemotion1.c adding a few const 2005-06-01 21:19:00 +00:00
truemotion1data.h adding a few const 2005-06-01 21:19:00 +00:00
tscc.c memleak fix 2005-02-17 00:00:20 +00:00
ulti_cb.h adding a few const 2005-06-01 21:19:00 +00:00
ulti.c 1l 2005-07-02 19:10:30 +00:00
utils.c spelling fixes 2005-06-17 15:02:53 +00:00
vc9.c print 'not working' message 2005-07-02 19:28:32 +00:00
vc9data.h - samples from mplayer ftp in the "adv" profile seem to have profile=2, 2005-02-04 02:20:38 +00:00
vcr1.c kill warnings patch by (Måns Rullgård <mru inprovide com>) 2005-02-24 19:08:50 +00:00
vmdav.c if audio is PCM, push it through (sync is not perfect yet) 2004-09-28 03:04:36 +00:00
vorbis.c decrease V_NB_BITS if possible 2005-05-30 22:02:00 +00:00
vorbis.h decrease V_NB_BITS if possible 2005-05-30 22:02:00 +00:00
vp3.c read loop filter limit values from Theora header, courtesy of Matthieu 2005-05-24 14:21:42 +00:00
vp3data.h another bitstream extraction to optimize: fixed-length motion vectors 2005-05-21 01:12:41 +00:00
vp3dsp.c porting vp3 idct over to lavc idct api 2005-05-17 11:12:04 +00:00
vqavideo.c various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
w32thread.c w32threads by (Gildas Bazin <gbazin at altern dot org>) 2004-02-19 20:29:26 +00:00
wmadata.h per file doxy 2003-03-06 11:32:04 +00:00
wmadec.c WMA MAX_CODED_SUPERFRAME_SIZE too small patch by (Mark Weaver: mark-clist, npsl co uk) 2005-06-28 14:56:16 +00:00
wmv2.c fix block corruption caused by clear_blocks() optimization 2005-05-08 13:04:46 +00:00
wnv1.c replace custom bitstream reader with get_bits/vlc() 2005-03-26 23:51:13 +00:00
ws-snd1.c Westwood SND1 decoder, courtesy of Kostya 2005-03-28 18:05:25 +00:00
x264.c patch from http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg-devel/files/patch-libavcodec::x264.c 2005-07-10 00:22:13 +00:00
xan.c various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
xl.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
xvidff.c switch to native time bases 2005-04-30 21:43:59 +00:00
xvmcvideo.c Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") 2005-04-24 17:21:11 +00:00