diff options
-rw-r--r-- | gst-libs/gst/codecparsers/gstvc1parser.c | 5 |
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; } |