Use forced key frames when encoding with libxvid.
[ffmpeg.git] / libavcodec / dvdsubenc.c
index 4dc58e7..4ee0f37 100644 (file)
@@ -217,7 +217,7 @@ static int dvdsub_encode(AVCodecContext *avctx,
 
 AVCodec dvdsub_encoder = {
     "dvdsub",
-    CODEC_TYPE_SUBTITLE,
+    AVMEDIA_TYPE_SUBTITLE,
     CODEC_ID_DVD_SUBTITLE,
     0,
     NULL,