diff rtpdec_xiph.c @ 5953:c3ebc8d7af38 libavformat

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).
author rbultje
date Thu, 15 Apr 2010 13:30:12 +0000
parents 08cd1179a20d
children 178de7695c6c
line wrap: on
line diff
--- a/rtpdec_xiph.c	Tue Apr 13 22:11:21 2010 +0000
+++ b/rtpdec_xiph.c	Thu Apr 15 13:30:12 2010 +0000
@@ -351,7 +351,6 @@
     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))) {