diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-15 22:37:31 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-15 22:37:31 +0000 |
commit | 0a1bd250d1507636b6ee3cc6dd1553b02292b6e5 (patch) | |
tree | 3c312f167212eb1eecd2b1558230525e1a167c83 /libavformat | |
parent | 24c1d3b54dfa4989b03d9d9b40acfab8ccbb795f (diff) | |
download | ffmpeg-0a1bd250d1507636b6ee3cc6dd1553b02292b6e5.tar.gz |
do not fail if correct is not recognized
Originally committed as revision 13170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/aiff.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c index c9aadea68f..b9ebce5cc5 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -149,9 +149,6 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, codec->bits_per_sample = av_get_bits_per_sample(codec->codec_id); } - if (!codec->codec_id) - return AVERROR_INVALIDDATA; - /* Block align needs to be computed in all cases, as the definition * is specific to applications -> here we use the WAVE format definition */ if (!codec->block_align) |