[0.10] gst-plugins-bad: codecparsers: fix mask pattern for h263 start marker

Tim Müller tpm at kemper.freedesktop.org
Thu Jan 5 15:08:47 PST 2012


Module: gst-plugins-bad
Branch: 0.10
Commit: 723f3262f2966cd8c97714b136b012242be12676
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=723f3262f2966cd8c97714b136b012242be12676

Author: Zhao Halley <halley.zhao at intel.com>
Date:   Thu Dec  8 11:27:56 2011 +0800

codecparsers: fix mask pattern for h263 start marker

---

 gst-libs/gst/codecparsers/gstmpeg4parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c
index 302219f..658f678 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



More information about the gstreamer-commits mailing list