From 32a1e057950b447e33e460e17511ab2bbf14aaa6 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Fri, 21 Oct 2011 13:18:26 +0300 Subject: [PATCH] vc1parser: fix parsing of RANGEREDFRM --- gst-libs/gst/codecparsers/gstvc1parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c index 3dde8d6d64..9c720911a2 100644 --- a/gst-libs/gst/codecparsers/gstvc1parser.c +++ b/gst-libs/gst/codecparsers/gstvc1parser.c @@ -1397,7 +1397,7 @@ parse_frame_header (GstBitReader * br, GstVC1FrameHdr * framehdr, pic->rangeredfrm = 0; if (structc->rangered) { - READ_UINT8 (br, pic->rangeredfrm, 2); + READ_UINT8 (br, pic->rangeredfrm, 1); } /* Figuring out the picture type */