pnm parser

Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2004-11-12 22:55:29 +00:00
parent ae214ac39e
commit 99f0623629
4 changed files with 103 additions and 21 deletions

View File

@@ -38,7 +38,9 @@ AVCodecParserContext *av_parser_init(int codec_id)
for(parser = av_first_parser; parser != NULL; parser = parser->next) {
if (parser->codec_ids[0] == codec_id ||
parser->codec_ids[1] == codec_id ||
parser->codec_ids[2] == codec_id)
parser->codec_ids[2] == codec_id ||
parser->codec_ids[3] == codec_id ||
parser->codec_ids[4] == codec_id)
goto found;
}
return NULL;