Commit d87ff555 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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.
parent face578d
...@@ -132,8 +132,6 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -132,8 +132,6 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt)
}; };
size = packed_size[mode]; size = packed_size[mode];
} else {
av_assert0(0);
} }
if (!size || av_new_packet(pkt, size)) if (!size || av_new_packet(pkt, size))
......
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