aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-11-10 15:29:20 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-11-10 15:29:20 +0000
commit8424cf505c2b7bb6f26addcc3fe1e8dbfa17df1d (patch)
tree3dc0d632e883db70935931248cfe3c8a3caf56f8 /libavcodec/allcodecs.c
parent962d6ae6c5a15a801f5df6e869fc0c01aeb8f963 (diff)
downloadffmpeg-8424cf505c2b7bb6f26addcc3fe1e8dbfa17df1d.tar.gz
new audio/video parser API
Originally committed as revision 2492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 20a9f364a4..46cd560904 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -193,5 +193,16 @@ PCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa);
PCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx);
#undef PCM_CODEC
+
+ /* parsers */
+ av_register_codec_parser(&mpegvideo_parser);
+ av_register_codec_parser(&mpeg4video_parser);
+ av_register_codec_parser(&h263_parser);
+ av_register_codec_parser(&h264_parser);
+
+ av_register_codec_parser(&mpegaudio_parser);
+#ifdef CONFIG_AC3
+ av_register_codec_parser(&ac3_parser);
+#endif
}