diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-15 13:30:12 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-15 13:30:12 +0000 |
commit | e58c05bb3c8b7bd3b93d264facbf290aeae4c483 (patch) | |
tree | 8016883ff36811ba68c31313993b8ecc3905070d | |
parent | 6752a3cc6c7fa00afe3800c9ec73700d5ba9bc04 (diff) | |
download | ffmpeg-e58c05bb3c8b7bd3b93d264facbf290aeae4c483.tar.gz |
Remove useless assert(), since this can (in theora) be used for any Xiph
codec, so there's no reason to (invalidly) limit it to only Theora.
Also fixes issue 1880 (compilation error on -DDEBUG).
Originally committed as revision 22886 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtpdec_xiph.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 1c6eef7d9e..665a313ba0 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -351,7 +351,6 @@ static int xiph_parse_sdp_line(AVFormatContext *s, int st_index, int value_size = strlen(line), attr_size = sizeof(attr), res = 0; AVCodecContext* codec = s->streams[st_index]->codec; - assert(codec->id == CODEC_ID_THEORA); assert(data); if (!(value = av_malloc(value_size))) { |