mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-15 11:17:49 +00:00
Remove an incorrect and unneeded assert in the amr demuxer.
Asserting a specific codec is not correct since libavformat allows forcing a codec, an equivalent check is in the following line. Fixes ticket #3001.
This commit is contained in:
parent
face578d56
commit
d87ff55502
@ -132,8 +132,6 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
};
|
||||
|
||||
size = packed_size[mode];
|
||||
} else {
|
||||
av_assert0(0);
|
||||
}
|
||||
|
||||
if (!size || av_new_packet(pkt, size))
|
||||
|
Loading…
Reference in New Issue
Block a user