From cab63a8b594cdc365bb2581a12b3ac8e6dd480b2 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 2 Oct 2015 12:43:39 +0200 Subject: dv: Mark internal frame reference as const Silence a warning due to frame assignment in dvenc. All uses of the reference in dvdec are read only, except the ones in the main decoding function, so use the frame pointer directly there. --- libavcodec/dv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/dv.h') diff --git a/libavcodec/dv.h b/libavcodec/dv.h index b458aeab29..d032405a26 100644 --- a/libavcodec/dv.h +++ b/libavcodec/dv.h @@ -39,7 +39,7 @@ typedef struct DVwork_chunk { typedef struct DVVideoContext { const AVDVProfile *sys; - AVFrame *frame; + const AVFrame *frame; AVCodecContext *avctx; uint8_t *buf; -- cgit v1.2.3