Browse Source

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.
tags/n2.1
Carl Eugen Hoyos 12 years ago
parent
commit
d87ff55502
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavformat/amr.c

+ 0
- 2
libavformat/amr.c 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))


Loading…
Cancel
Save