aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhuceke <root@vaio.localdomain>2011-12-10 19:31:51 +0100
committerhuceke <root@vaio.localdomain>2011-12-10 19:31:51 +0100
commit76cac23ce914eb3029f22039064fba6da6e9f6ff (patch)
tree5711f1a9754e0a02073a96921b472ff3e9ee067f /lib
parenta54a05980eff20debc21f694a47093da59abec34 (diff)
[vaapi] reverted does apply to our ffmpeg version
Diffstat (limited to 'lib')
-rw-r--r--lib/ffmpeg/libavcodec/vaapi_h264.c3
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;
}