projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6752a3c
)
Remove useless assert(), since this can (in theora) be used for any Xiph
author
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 15 Apr 2010 13:30:12 +0000
(13:30 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 15 Apr 2010 13:30:12 +0000
(13:30 +0000)
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
libavformat/rtpdec_xiph.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/rtpdec_xiph.c
b/libavformat/rtpdec_xiph.c
index
1c6eef7
..
665a313
100644
(file)
--- 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))) {