You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/qsvenc_h264: declare the QSVEncContext variable before using it
Should fix compilation.
Regression introduced by commit 63adb3602d
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -43,10 +43,10 @@ typedef struct QSVH264EncContext {
|
|||||||
static int qsv_h264_set_encode_ctrl(AVCodecContext *avctx,
|
static int qsv_h264_set_encode_ctrl(AVCodecContext *avctx,
|
||||||
const AVFrame *frame, mfxEncodeCtrl* enc_ctrl)
|
const AVFrame *frame, mfxEncodeCtrl* enc_ctrl)
|
||||||
{
|
{
|
||||||
|
QSVH264EncContext *qh264 = avctx->priv_data;
|
||||||
|
QSVEncContext *q = &qh264->qsv;
|
||||||
|
|
||||||
if (q->a53_cc && frame) {
|
if (q->a53_cc && frame) {
|
||||||
AVFrameSideData *side_data = NULL;
|
|
||||||
QSVH264EncContext *qh264 = avctx->priv_data;
|
|
||||||
QSVEncContext *q = &qh264->qsv;
|
|
||||||
mfxPayload* payload;
|
mfxPayload* payload;
|
||||||
mfxU8* sei_data;
|
mfxU8* sei_data;
|
||||||
size_t sei_size;
|
size_t sei_size;
|
||||||
|
Reference in New Issue
Block a user