codecparsers: fix bitplanes decoding (DIFF6 or NORM6).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Jan 2013 16:28:22 +0000 (17:28 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Jan 2013 16:29:12 +0000 (17:29 +0100)
commitc6fd8c4be9e8045afb0d7c95d0655b5e5fe0784b
treebbaadb15ef6c1cb472858df420fb58c7f1564912
parent3fba492c9ea8cbbcbe4049f103699fd63cbc463c
codecparsers: fix bitplanes decoding (DIFF6 or NORM6).

Fix decoding of DIFF6 or NORM6 bitplanes with an odd number of lines
(3x2 "horizontal" tiles). In this case, we have to skip the first line
of macroblocks but <width> number of bytes was used to do so, instead
of the actual <stride> size.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gstvc1parser.c