h264: fix scaling list generation.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 26 Oct 2012 11:17:43 +0000 (13:17 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 26 Oct 2012 12:41:36 +0000 (14:41 +0200)
commit015879cafe999e359881629705d2275f75d5c385
tree0f88f3ca8b197ad5c373346285327bf5afba7ab4
parent6398bc7d3c86a6b220415c497ea609cb41186da7
h264: fix scaling list generation.

... aka fix regression from efaab79. In particular, ScalingList8x8[]
array was partially copied to the VAIQMatrixBufferH264. While we are
at it, also improve bounds checking and avoid copying 8x8 scaling
lists if transform_8x8_mode_flag is set to 0.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c