diff options
author | Zhao Halley <halley.zhao@intel.com> | 2011-12-06 08:53:07 +0800 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2011-12-06 17:05:52 -0300 |
commit | 5aaf56af2936df3e789e48cfacaf8e398c7e49c6 (patch) | |
tree | 39f82d9d985a60417ef34dc88f27e96a17fd78b5 /gst-libs | |
parent | 3aa9081ef5e3727b2f6fd5c744ec7cf18dd4b9d0 (diff) |
codecparsers: return NO_PACKET if needed
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/codecparsers/gstmpeg4parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c index b49250ab1..5b7c45cfc 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -443,12 +443,12 @@ gst_mpeg4_parse (GstMpeg4Packet * packet, gboolean skip_user_data, /* We found a complet slice */ if (resync_res == GST_MPEG4_PARSER_OK) return resync_res; - else if (resync_res == GST_MPEG4_PARSER_NO_PACKET_END) { /* It doesn't mean there is no standard packet end, look for it */ off1 = packet->offset; goto find_end; - } + } else if (resync_res == GST_MPEG4_PARSER_NO_PACKET) + return resync_res; } off1 = gst_byte_reader_masked_scan_uint32 (&br, 0xffffff00, 0x00000100, |