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 17:08:42 +0000 (18:08 +0100)
commit904fbe689265e439b43fb83ff85641860ca8778d
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