summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2011-10-05 18:46:33 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2011-10-06 09:14:52 +0200
commit29b8db2a47f432e0a7aac45b2fddfe52285e09e1 (patch)
treeeeb6354e39ba040b1a47e27a3c262c20f1bbb546
parentb2dd845f9f89b6b9838dde52055b80d27598b3b6 (diff)
codecparsers: vc1: fix decode_colskip().vc1parsinglib
-rw-r--r--gst-libs/gst/codecparsers/gstvc1parser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c
index 0e31851fe..3f8b6989d 100644
--- a/gst-libs/gst/codecparsers/gstvc1parser.c
+++ b/gst-libs/gst/codecparsers/gstvc1parser.c
@@ -280,7 +280,7 @@ decode_colskip (GstBitReader * br, guint8 * data, guint width, guint height,
guint x, y;
guint8 colskip;
- GST_DEBUG ("Colskip rowskip");
+ GST_DEBUG ("Parsing colskip");
for (x = 0; x < width; x++) {
READ_UINT8 (br, colskip, 1);
@@ -329,6 +329,7 @@ decode_rowskip (GstBitReader * br, guint8 * data, guint width, guint height,
} else if (rowskip)
SKIP (br, width);
}
+
return TRUE;
failed:
@@ -555,7 +556,7 @@ bitplane_decoding (GstBitReader * br, guint8 * data,
GST_DEBUG ("Parsing IMODE_COLSKIP biplane");
- if (decode_colskip (br, data, width, height, stride))
+ if (!decode_colskip (br, data, width, height, stride))
goto failed;
break;
}