You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavu/hwcontext_qsv: Mark a pointer as const.
Silences a warning: libavutil/hwcontext_qsv.c:912:15: warning: assignment discards 'const' qualifier from pointer target type
This commit is contained in:
@@ -863,7 +863,8 @@ static int qsv_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst,
|
|||||||
mfxStatus err;
|
mfxStatus err;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
/* make a copy if the input is not padded as libmfx requires */
|
/* make a copy if the input is not padded as libmfx requires */
|
||||||
AVFrame tmp_frame, *src_frame;
|
AVFrame tmp_frame;
|
||||||
|
const AVFrame *src_frame;
|
||||||
int realigned = 0;
|
int realigned = 0;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user