[FFmpeg-cvslog] r22886 - trunk/libavformat/rtpdec_xiph.c

rbultje subversion
Thu Apr 15 15:30:13 CEST 2010


Author: rbultje
Date: Thu Apr 15 15:30:12 2010
New Revision: 22886

Log:
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 (assert triggers on -DDEBUG + Vorbis).

Modified:
   trunk/libavformat/rtpdec_xiph.c

Modified: trunk/libavformat/rtpdec_xiph.c
==============================================================================
--- trunk/libavformat/rtpdec_xiph.c	Thu Apr 15 15:16:37 2010	(r22885)
+++ trunk/libavformat/rtpdec_xiph.c	Thu Apr 15 15:30:12 2010	(r22886)
@@ -351,7 +351,6 @@ static int xiph_parse_sdp_line(AVFormatC
     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))) {



More information about the ffmpeg-cvslog mailing list