lavfi/subtitles: fix recently introduced warning about discarded const qualifier.
authorClément Bœsch <ubitux@gmail.com>
Wed, 20 Feb 2013 18:47:32 +0000 (19:47 +0100)
committerClément Bœsch <ubitux@gmail.com>
Wed, 20 Feb 2013 18:47:32 +0000 (19:47 +0100)
libavfilter/vf_subtitles.c

index 4f4fbf7..7513e24 100644 (file)
@@ -267,7 +267,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx, const char *args)
     AVFormatContext *fmt = NULL;
     AVCodecContext *dec_ctx = NULL;
     AVCodec *dec = NULL;
-    AVCodecDescriptor *dec_desc;
+    const AVCodecDescriptor *dec_desc;
     AVStream *st;
     AVPacket pkt;
     AssContext *ass = ctx->priv;