Commit 0a1bd250 authored by Baptiste Coudurier's avatar Baptiste Coudurier

do not fail if correct is not recognized

Originally committed as revision 13170 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 24c1d3b5
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment