mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
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:
parent
f19442c069
commit
560f5188c6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user