aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-12 22:55:29 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-12 22:55:29 +0000
commit99f0623629dc0aeb805e7070a1b62c29688ce1bd (patch)
tree49989ff0c77824afdd1159618839a4ef498452a9 /libavcodec/parser.c
parentae214ac39ed0225dbc0a3b6042dfe9b38a152b15 (diff)
downloadffmpeg-99f0623629dc0aeb805e7070a1b62c29688ce1bd.tar.gz
pnm parser
Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 97cadc123f..b15c1c4dfa 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -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;