mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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). Originally committed as revision 22886 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6752a3cc6c
commit
e58c05bb3c
@ -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))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user