mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 10:22:10 +00:00
do not fail if correct is not recognized
Originally committed as revision 13170 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
24c1d3b54d
commit
0a1bd250d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user