Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-26 14:34:41 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-03-16 23:14:34 +0300
commit5dd7ea9f569b92c1e3de10eff46b80f3dfa63a1d (patch)
tree6b63a646dd3f1d3ff7373d9e126ef2903f24d1ac /libavcodec/internal.h
parent0d34dbc27277d65e58a675d91d810903a3e21fac (diff)
lavc/internal: Constify AVPacket* in AVCodecInternal.
Fixes a gcc warning: libavcodec/utils.c:2244:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index d6e620a983..6e93eeb1a9 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -141,7 +141,7 @@ typedef struct AVCodecInternal {
* Current packet as passed into the decoder, to avoid having to pass the
* packet into every function.
*/
- AVPacket *pkt;
+ const AVPacket *pkt;
/**
* temporary buffer used for encoders to store their bitstream