[FFmpeg-cvslog] avprobe: add const to AVCodec pointer
Mans Rullgard
git at videolan.org
Sun Aug 19 15:21:53 CEST 2012
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Aug 18 13:22:57 2012 +0100| [8b13445791952324174f50b76519eddc347dc29a] | committer: Mans Rullgard
avprobe: add const to AVCodec pointer
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b13445791952324174f50b76519eddc347dc29a
---
avprobe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/avprobe.c b/avprobe.c
index 4e68313..270bacc 100644
--- 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;
More information about the ffmpeg-cvslog
mailing list