ffmpeg/libavcodec
Limin Wang 75316e1dcc Set data_size to zero when DCA header parse failed
Patch by Limin Wang <lance('\\'>>1)lmwang>(0x24^'D')<gmail>('/' & 0xFE)<com>
Thread [PATCH] set data_size to zero if failed to parse dca header

Originally committed as revision 10423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 14:55:13 +00:00
..
alpha
armv4l Fix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm. 2007-09-05 11:05:33 +00:00
bfin Use a consistent multiple inclusion guard. 2007-08-30 22:41:54 +00:00
i386 Replace complicated and currently broken manual alignment code by 2007-08-30 11:41:58 +00:00
mlib
ppc snow altivec is broken 2007-08-28 13:39:50 +00:00
ps2
sh4 * renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64) 2007-08-09 17:01:15 +00:00
sparc add simple_idct implemented in Sparc VIS 2007-08-30 19:18:23 +00:00
4xm.c fix decoding of dracula.4xm before diego complains 2007-09-05 01:21:32 +00:00
8bps.c
Makefile Add a bitstream filter for H.264. 2007-09-06 12:36:07 +00:00
aac_ac3_parser.c
aac_ac3_parser.h
aac_parser.c
aasc.c
ac3.c move some common values to ac3.h and utilize them 2007-07-15 01:31:09 +00:00
ac3.h move some common values to ac3.h and utilize them 2007-07-15 01:31:09 +00:00
ac3_parser.c move some common values to ac3.h and utilize them 2007-07-15 01:31:09 +00:00
ac3_parser.h
ac3dec.c cosmetics: vertical alignment 2007-08-09 00:39:35 +00:00
ac3enc.c Fix the self tests which are contained in some codecs and are using random(). 2007-07-19 08:47:07 +00:00
ac3tab.c
ac3tab.h
adpcm.c Cosmetics, indentation. 2007-08-19 20:34:27 +00:00
adx.c various simplifications around recent av_clip_int16() usage 2007-08-11 23:17:03 +00:00
alac.c Remove reimplementation of get_unary. 2007-09-01 21:03:17 +00:00
allcodecs.c Add a bitstream filter for H.264. 2007-09-06 12:36:07 +00:00
allcodecs.h Add a bitstream filter for H.264. 2007-09-06 12:36:07 +00:00
apiexample.c
asv1.c asv1.c directly uses Put/GetBitContext, so it should include bitstream.h 2007-08-21 15:48:08 +00:00
atrac3.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
atrac3data.h
audioconvert.c
avcodec.h add a close function to bitstream filter 2007-09-04 06:48:22 +00:00
avs.c
beosthread.c
bethsoftvideo.c
bethsoftvideo.h
bitstream.c Ahem, fix typos overlooked in last commit. 2007-07-28 12:50:28 +00:00
bitstream.h move get_unary() to its own file 2007-08-26 22:33:48 +00:00
bitstream_filter.c add a close function to bitstream filter 2007-09-04 06:48:22 +00:00
bmp.c Remove redundant assignment of CODEC_ID_BMP. 2007-07-14 17:14:16 +00:00
bmp.h
bmpenc.c
bytestream.h
c93.c
cabac.c Fix the self tests which are contained in some codecs and are using random(). 2007-07-19 08:47:07 +00:00
cabac.h CONFIG_7REGS -> HAVE_7REGS 2007-08-15 21:19:13 +00:00
cavs.c * renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64) 2007-08-09 17:01:15 +00:00
cavs.h have less functions as inline 2007-07-25 05:09:54 +00:00
cavs_parser.c
cavsdata.h
cavsdec.c Initialize the "stc" variable before using it in ff_find_start_code() 2007-08-23 07:02:27 +00:00
cavsdsp.c
cinepak.c
cljr.c
colorspace.h create colorspace.h and use it where appropriate 2007-07-17 12:33:14 +00:00
cook.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
cookdata.h
cscd.c
cyuv.c
dca.c Set data_size to zero when DCA header parse failed 2007-09-06 14:55:13 +00:00
dca.h
dca_parser.c
dcadata.h
dcahuff.h
dct-test.c Fix the compilation of dct-test, fft-test and motion-test which are using 2007-07-19 08:46:28 +00:00
dnxhddata.c dnxhd 120 interlaced support 2007-08-10 19:23:14 +00:00
dnxhddata.h move dnxhd data tables to separate file 2007-08-04 13:41:33 +00:00
dnxhddec.c move dnxhd data tables to separate file 2007-08-04 13:41:33 +00:00
dpcm.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
dsicinav.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
dsputil.c Add attribute that forces alignment of stack to functions that need it. 2007-08-13 15:28:29 +00:00
dsputil.h Do not wrongly mark Apple gcc workarounds as being specific to Darwin. 2007-08-26 22:06:40 +00:00
dump_extradata_bsf.c
dv.c
dvbsub.c create colorspace.h and use it where appropriate 2007-07-17 12:33:14 +00:00
dvbsub_parser.c
dvbsubdec.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
dvdata.h * making profile selection a bit more tolerant to the badly broken streams 2007-07-17 04:06:03 +00:00
dvdsub_parser.c Update the dvdsub parser to be able to parse HD-DVD subtitle packets. 2007-07-24 14:17:13 +00:00
dvdsubdec.c Reindent two lines. 2007-07-24 13:05:28 +00:00
dvdsubenc.c
dxa.c
elbg.c
elbg.h
error_resilience.c
eval.c
eval.h
faandct.c
faandct.h
fdctref.c
fft-test.c making reference models have the same API 2007-08-01 20:44:08 +00:00
fft.c
ffv1.c
flac.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
flacenc.c
flashsv.c
flashsvenc.c
flicvideo.c Fix issue 123 (Support Magic-carpet fli version, 2007-09-04 17:31:25 +00:00
fraps.c
g726.c
gif.c
gifdec.c
golomb.c Make the Golomb decoder work for Dirac 2007-08-15 12:59:27 +00:00
golomb.h Make the Golomb decoder work for Dirac 2007-08-15 12:59:27 +00:00
h261.c
h261.h
h261_parser.c
h261data.h
h261dec.c
h261enc.c
h263.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
h263.h
h263_parser.c
h263_parser.h
h263data.h
h263dec.c
h264.c Avoid a crash when H264 MMC operation causes the short term reference 2007-09-05 20:04:09 +00:00
h264.h Add slice-based parallel H.264 decoding 2007-09-05 16:18:15 +00:00
h264_mp4toannexb_bsf.c Add a bitstream filter for H.264. 2007-09-06 12:36:07 +00:00
h264_parser.c
h264_parser.h
h264data.h Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
h264dspenc.c Take care of some renames (Doxygen and function name) after the previous pure rename patch. 2007-07-28 18:26:43 +00:00
h264enc.c
h264idct.c
h264pred.c Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
h264pred.h Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
huffyuv.c prevent huffyuv from generating codewords of length 32. (regression in r9069) 2007-08-05 00:29:02 +00:00
idcinvideo.c
imc.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
imcdata.h
imgconvert.c add YUV440P and YUVJ440P support 2007-07-18 08:11:16 +00:00
imgconvert_template.h typo fixes 2007-07-17 12:57:50 +00:00
imgresample.c
imx_dump_header_bsf.c
indeo2.c
indeo2data.h
indeo3.c
indeo3data.h
interplayvideo.c
jfdctfst.c
jfdctint.c
jpegls.c
jpegls.h
jpeglsdec.c
jpeglsdec.h
jpeglsenc.c
jrevdct.c
kmvc.c
lcl.h split lcl.c into lcldec.c, lclenc.c, lcl.h 2007-07-12 22:40:33 +00:00
lcldec.c indent 2007-07-12 22:55:35 +00:00
lclenc.c split lcl.c into lcldec.c, lclenc.c, lcl.h 2007-07-12 22:40:33 +00:00
liba52.c various simplifications around recent av_clip_int16() usage 2007-08-11 23:17:03 +00:00
libamr.c
libfaac.c right filename in doxygen comment 2007-08-22 15:03:14 +00:00
libfaad.c
libgsm.c cosmetics: misc typo fixes 2007-07-28 12:46:26 +00:00
libmp3lame.c increase buffer size of LAME MP3 encoder 2007-07-24 09:59:54 +00:00
libtheoraenc.c
libvorbis.c various simplifications around recent av_clip_int16() usage 2007-08-11 23:17:03 +00:00
libx264.c map warning levels between libx264 and libavutil 2007-07-12 08:22:28 +00:00
libxvid_internal.h
libxvid_rc.c
libxvidff.c
ljpegenc.c
loco.c
lzw.c
lzw.h
lzwenc.c
mace.c
mathops.h Hooking bfin/mathops.h 2007-08-30 15:16:52 +00:00
mdct.c
mdec.c
mjpeg.c
mjpeg.h
mjpeg_parser.c
mjpega_dump_header_bsf.c
mjpegbdec.c use buf_ptr to correctly decode second field 2007-08-01 13:18:23 +00:00
mjpegdec.c Add support for grayscale MJPEG streams sent by Axis cameras such as the 2007-08-04 20:49:39 +00:00
mjpegdec.h
mjpegenc.c
mjpegenc.h
mmvideo.c
motion-test.c Fix the compilation of dct-test, fft-test and motion-test which are using 2007-07-19 08:46:28 +00:00
motion_est.c
motion_est_template.c
mp3_header_compress_bsf.c
mp3_header_decompress_bsf.c
mpc.c
mpcdata.h
mpeg4data.h
mpeg4video_parser.c
mpeg4video_parser.h
mpeg12.c Make MPEG-1/2 decoder work with the libmpeg2-style bitstream reader. 2007-08-04 11:01:11 +00:00
mpeg12.h
mpeg12data.c
mpeg12data.h
mpeg12decdata.h
mpeg12enc.c get rid of mb_type_len 2007-08-01 22:39:03 +00:00
mpegaudio.c
mpegaudio.h
mpegaudio_parser.c
mpegaudiodata.c
mpegaudiodata.h
mpegaudiodec.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
mpegaudiodecheader.c
mpegaudiodecheader.h
mpegaudiodectab.h
mpegaudioenc.c
mpegaudiotab.h
mpegvideo.c Add slice-based parallel H.264 decoding 2007-09-05 16:18:15 +00:00
mpegvideo.h exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane, 2007-08-01 22:12:52 +00:00
mpegvideo_common.h make grayscale only decoding checks in inner loops compiletime killable 2007-08-01 00:39:39 +00:00
mpegvideo_enc.c warn user if max=bitrate && max > min 2007-07-29 19:21:56 +00:00
mpegvideo_parser.c
msmpeg4.c Move msmpeg4 tables from a header file to msmpegdata.c. 2007-08-13 17:57:06 +00:00
msmpeg4.h
msmpeg4data.c Move msmpeg4 tables from a header file to msmpegdata.c. 2007-08-13 17:57:06 +00:00
msmpeg4data.h Move msmpeg4 tables from a header file to msmpegdata.c. 2007-08-13 17:57:06 +00:00
msrle.c
msvideo1.c
noise_bsf.c
nuv.c
opt.c
opt.h Replace non-existing @fixme doxygen tags with @todo. 2007-07-13 13:04:55 +00:00
os2thread.c
parser.c
parser.h
pcm.c support silly PCM variant used by zork nemesis 2007-07-30 02:05:16 +00:00
png.c hardly anything in PNGContext is shared; split it 2007-07-15 19:23:55 +00:00
png.h remove superfluous #include 2007-07-15 19:32:31 +00:00
pngdec.c typo fixes 2007-07-17 12:57:50 +00:00
pngenc.c hardly anything in PNGContext is shared; split it 2007-07-15 19:23:55 +00:00
pnm.c
pnm.h
pnm_parser.c
pnmenc.c
pthread.c Add attribute that forces alignment of stack to functions that need it. 2007-08-13 15:28:29 +00:00
ptx.c * renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64) 2007-08-09 17:01:15 +00:00
qdm2.c
qdm2data.h
qdrw.c
qpeg.c
qtrle.c
qtrleenc.c
ra144.c various simplifications around recent av_clip_int16() usage 2007-08-11 23:17:03 +00:00
ra144.h
ra288.c
ra288.h
rangecoder.c
rangecoder.h
ratecontrol.c prevent assert failure with negative quant_offset 2007-07-29 21:34:31 +00:00
ratecontrol.h
raw.c
raw.h
rawdec.c support raw 4bpp avi 2007-07-29 13:32:53 +00:00
rawenc.c
remove_extradata_bsf.c
resample.c make output buffer larger so drift compensation can work 2007-08-06 23:34:41 +00:00
resample2.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
rl.h
rle.c
rle.h
roqaudioenc.c
roqvideo.c
roqvideo.h
roqvideodec.c fix decoding of samples.mplayerhq.hu/game-formats/idroq/demoEnd.roq 2007-08-11 23:09:28 +00:00
roqvideoenc.c
rpza.c
rtjpeg.c
rtjpeg.h
rv10.c use skip_bits where appropriate 2007-08-09 00:57:36 +00:00
s3tc.c
s3tc.h
sgi.h
sgidec.c
sgienc.c
shorten.c use skip_bits where appropriate 2007-08-09 00:57:36 +00:00
simple_idct.c
simple_idct.h
smacker.c use skip_bits where appropriate 2007-08-09 00:57:36 +00:00
smc.c
snow.c add a 8 taps filter for testing 2007-09-05 01:49:14 +00:00
snow.h cleanup (remove some old experimentation related code) 2007-08-25 03:19:39 +00:00
sonic.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
sp5x.h
sp5xdec.c
svq1.c
svq1.h
svq1_cb.h
svq1_vlc.h
svq1dec.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
svq1enc.c
svq1enc_cb.h
svq3.c Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
targa.c
targaenc.c
tiertexseqv.c
tiff.c
tiff.h
tiffenc.c
truemotion1.c use reget_buffer and remove internal copying of buffer - codec works again 2007-08-09 00:16:27 +00:00
truemotion1data.h
truemotion2.c
truespeech.c
truespeech_data.h Identifiers starting with underscores are reserved. 2007-07-31 06:55:48 +00:00
tscc.c
tta.c
txd.c
ulti.c
ulti_cb.h
unary.h Remove reimplementation of get_unary. 2007-09-01 21:03:17 +00:00
utils.c Add request_channels member to AVCodecContext so we now have a proper 2007-08-23 20:28:28 +00:00
vc1.c move get_unary() to its own file 2007-08-26 22:33:48 +00:00
vc1.h Replace non-existing @fixme doxygen tags with @todo. 2007-07-13 13:04:55 +00:00
vc1_parser.c
vc1acdata.h
vc1data.c
vc1data.h
vc1dsp.c Make bicubic interpolation standard compliant 2007-07-29 04:04:21 +00:00
vcr1.c
vmdav.c use av_clip_int16() where it makes sense 2007-08-11 22:48:55 +00:00
vmnc.c
vorbis.c
vorbis.h
vorbis_data.c
vorbis_dec.c use skip_bits where appropriate 2007-08-09 00:57:36 +00:00
vorbis_enc.c
vorbis_enc_data.h
vp3.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
vp3data.h
vp3dsp.c
vp5.c
vp5data.h
vp6.c add a warning message for unsupported kind of encoding 2007-09-01 13:04:25 +00:00
vp6data.h
vp56.c
vp56.h remove wrong const qualifier 2007-07-25 19:34:31 +00:00
vp56data.c
vp56data.h
vqavideo.c
w32thread.c Add attribute that forces alignment of stack to functions that need it. 2007-08-13 15:28:29 +00:00
wavpack.c add get_unary_0_33() to help gcc with inlining 2007-08-26 22:38:57 +00:00
wma.c fix mem leak 2007-07-18 15:36:45 +00:00
wma.h
wmadata.h
wmadec.c various simplifications around recent av_clip_int16() usage 2007-08-11 23:17:03 +00:00
wmaenc.c
wmv2.c use get_bits1(..) instead get_bits(.., 1) 2007-08-09 00:13:31 +00:00
wnv1.c
ws-snd1.c
xan.c
xiph.c
xiph.h
xl.c
xsubdec.c Add proper license header 2007-08-05 12:11:34 +00:00
xvmc_render.h
xvmcvideo.c
zmbv.c remove useless #ifdef CONFIG_ZLIB from zmbv decoder 2007-07-16 21:05:16 +00:00
zmbvenc.c