forked from FFmpeg/FFmpeg
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
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue