X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhwcontext_qsv.c;h=8f9838d7d819b64db7e5251988a6c77d871451ef;hb=5ba769214f91f099f93185d33bd28e0460cc3908;hp=b6d8bfe2bfbaaf60aa7b200a6e9e8b2640344fe8;hpb=47e12966b75490cfa5fb8ed65a48a9a3d84a7bce;p=ffmpeg diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index b6d8bfe2bfb..8f9838d7d81 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -863,7 +863,8 @@ static int qsv_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst, mfxStatus err; int ret = 0; /* 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;