Commit 85f93f10 authored by rbultje's avatar rbultje

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).



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22886 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a5c5034f
......@@ -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))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment