avprobe: add const to AVCodec pointer
authorMans Rullgard <mans@mansr.com>
Sat, 18 Aug 2012 12:22:57 +0000 (13:22 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 18 Aug 2012 13:20:57 +0000 (14:20 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
avprobe.c

index 4e68313..270bacc 100644 (file)
--- a/avprobe.c
+++ b/avprobe.c
@@ -581,7 +581,7 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
 {
     AVStream *stream = fmt_ctx->streams[stream_idx];
     AVCodecContext *dec_ctx;
-    AVCodec *dec;
+    const AVCodec *dec;
     const char *profile;
     char val_str[128];
     AVRational display_aspect_ratio;