diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-09-29 07:11:56 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-09-29 07:11:56 +0200 |
commit | d87ff555025e90ef285425216c29be95034e2485 (patch) | |
tree | 6638488307896e24f2c1ddb9b1be3bad15ea6b50 /libavformat | |
parent | face578d56c2d1375e40d5e2a28acc122132bc55 (diff) | |
download | ffmpeg-d87ff555025e90ef285425216c29be95034e2485.tar.gz |
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.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/amr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 7201ac3688..db9bb4e59d 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -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)) |