You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user