Mercurial > libavcodec.hg
comparison mpegaudio_parser.c @ 8586:d7d0cde5f308 libavcodec
Add dummy mp1_decoder to complement the existing dummy mp2/mp3 decoders.
author | michael |
---|---|
date | Tue, 13 Jan 2009 19:32:08 +0000 |
parents | 2b0d01be134f |
children | b3f3d9ffab1c |
comparison
equal
deleted
inserted
replaced
8585:2186f7c290dd | 8586:d7d0cde5f308 |
---|---|
246 return buf_ptr - buf; | 246 return buf_ptr - buf; |
247 } | 247 } |
248 | 248 |
249 | 249 |
250 AVCodecParser mpegaudio_parser = { | 250 AVCodecParser mpegaudio_parser = { |
251 { CODEC_ID_MP2, CODEC_ID_MP3 }, | 251 { CODEC_ID_MP1, CODEC_ID_MP2, CODEC_ID_MP3 }, |
252 sizeof(MpegAudioParseContext), | 252 sizeof(MpegAudioParseContext), |
253 mpegaudio_parse_init, | 253 mpegaudio_parse_init, |
254 mpegaudio_parse, | 254 mpegaudio_parse, |
255 NULL, | 255 NULL, |
256 }; | 256 }; |