Commit 794b64e4 authored by michael's avatar michael

10l (array gets padded with 0 which is CODEC_ID_NONE -> parsers claim to support CODEC_ID_NONE)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3918 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 346ab217
......@@ -34,6 +34,9 @@ AVCodecParserContext *av_parser_init(int codec_id)
AVCodecParserContext *s;
AVCodecParser *parser;
int ret;
if(codec_id == CODEC_ID_NONE)
return NULL;
for(parser = av_first_parser; parser != NULL; parser = parser->next) {
if (parser->codec_ids[0] == codec_id ||
......
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