From 70390ad8462cc33685d5f956e2a20038c69ca974 Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Thu, 8 Dec 2011 11:27:56 +0800 Subject: [PATCH] codecparsers: fix mask pattern for h263 start marker --- gst-libs/gst/codecparsers/gstmpeg4parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c index 302219fc13..658f678586 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -273,7 +273,7 @@ find_psc (GstByteReader * br) /* Scan for the picture start code (22 bits - 0x0020) */ while ((gst_byte_reader_get_remaining (br) >= 3)) { if (gst_byte_reader_peek_uint24_be (br, &psc) && - ((psc & 0xffffc0) == 0x000080)) { + ((psc & 0xfffffc) == 0x000080)) { psc_pos = gst_byte_reader_get_pos (br); break; } else