diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-02 12:43:39 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-04 13:06:34 +0200 |
commit | cab63a8b594cdc365bb2581a12b3ac8e6dd480b2 (patch) | |
tree | a8412fc1261ef47bb42f92d3fd6393bf4bd7c0ed /libavcodec/dv.h | |
parent | 4c160fa23996c05efcd952ccfac2359311d8a1bc (diff) | |
download | ffmpeg-cab63a8b594cdc365bb2581a12b3ac8e6dd480b2.tar.gz |
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.
Diffstat (limited to 'libavcodec/dv.h')
-rw-r--r-- | libavcodec/dv.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |