changeset 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 7f9a0da9f56a
children 1c93ef22cea6
files rtpdec_xiph.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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))) {