diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ffmpeg/libavcodec/vaapi_h264.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ffmpeg/libavcodec/vaapi_h264.c b/lib/ffmpeg/libavcodec/vaapi_h264.c index 6359f4779a..cbe526b6e7 100644 --- a/lib/ffmpeg/libavcodec/vaapi_h264.c +++ b/lib/ffmpeg/libavcodec/vaapi_h264.c @@ -280,8 +280,7 @@ static int start_frame(AVCodecContext *avctx, if (!iq_matrix) return -1; memcpy(iq_matrix->ScalingList4x4, h->pps.scaling_matrix4, sizeof(iq_matrix->ScalingList4x4)); - memcpy(iq_matrix->ScalingList8x8[0], h->pps.scaling_matrix8[0], sizeof(iq_matrix->ScalingList8x8[0])); - memcpy(iq_matrix->ScalingList8x8[1], h->pps.scaling_matrix8[3], sizeof(iq_matrix->ScalingList8x8[0])); + memcpy(iq_matrix->ScalingList8x8, h->pps.scaling_matrix8, sizeof(iq_matrix->ScalingList8x8)); return 0; } |