diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-24 02:18:23 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-24 11:04:37 +0100 |
commit | 560f5188c6243d99d8012961a0008f953e9d918e (patch) | |
tree | df25754963bcd0c0e63d2d0f40eeb88d2fda3016 /libavcodec | |
parent | f19442c069929727b19c948619488370d279e177 (diff) | |
download | ffmpeg-560f5188c6243d99d8012961a0008f953e9d918e.tar.gz |
lavc/utils: Make second parameter to apply_param_change() const.
Fixes a compilation warning:
passing argument 2 of ‘apply_param_change’ discards ‘const’ qualifier from pointer target type
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index f4085bf7a7..1156e43079 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2092,7 +2092,7 @@ static int64_t guess_correct_pts(AVCodecContext *ctx, return pts; } -static int apply_param_change(AVCodecContext *avctx, AVPacket *avpkt) +static int apply_param_change(AVCodecContext *avctx, const AVPacket *avpkt) { int size = 0, ret; const uint8_t *data; |