aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2005-06-03 13:59:38 +0000
committerFabrice Bellard <fabrice@bellard.org>2005-06-03 13:59:38 +0000
commit240c1657dcd45adc0e63ef947b920919071ec1f7 (patch)
tree385f5f33871332a0c78cc3bc00aa5d74026536f3 /libavcodec/allcodecs.c
parentc62112ff06f859c8c3ef096f859a0f5a941a1ce8 (diff)
downloadffmpeg-240c1657dcd45adc0e63ef947b920919071ec1f7.tar.gz
subtitle codec type support
Originally committed as revision 4346 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 6e4b6ca0d2..a0a7d7fc4e 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -551,6 +551,10 @@ PCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf);
#undef PCM_CODEC
+ /* subtitles */
+ register_avcodec(&dvdsub_decoder);
+ register_avcodec(&dvbsub_encoder);
+
/* parsers */
av_register_codec_parser(&mpegvideo_parser);
av_register_codec_parser(&mpeg4video_parser);
@@ -568,5 +572,6 @@ PCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf);
#ifdef CONFIG_AC3
av_register_codec_parser(&ac3_parser);
#endif
+ av_register_codec_parser(&dvdsub_parser);
}