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
This commit is contained in:
Carl Eugen Hoyos 2017-02-24 02:18:23 +01:00
parent f19442c069
commit 560f5188c6

View File

@ -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;