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:
Carl Eugen Hoyos 2013-09-29 07:11:56 +02:00
parent face578d56
commit d87ff55502
1 changed files with 0 additions and 2 deletions

View File

@ -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))