diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-06-13 17:36:20 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-06-13 17:59:42 +0100 |
commit | b14fb383eddec5aa086524ba39ade684b29bd217 (patch) | |
tree | 847892262dd17708c660e008e5537702d5c656fe | |
parent | c7eb883e2239ee465ff4359398cfe8546a20e336 (diff) | |
download | gstreamer-plugins-bad-b14fb383eddec5aa086524ba39ade684b29bd217.tar.gz |
Revert "codecparsers: remove ignored increment of return"
This reverts commit 916b954315abc2f94348ec0be3e116c19b080b54.
Clearly something else was intended, and it also makes
more sense to add the extra bit. The resync marker is
N zero bits plus a 1 bit, and the pattern/mask needs to
be run on N+1 bits too.
(Even after the rever the code doesn't do that of course, so
it still needs to be fixed differently.)
https://bugzilla.gnome.org/show_bug.cgi?id=739345
-rw-r--r-- | 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 7dbc811b0..a2e63a2e4 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -347,7 +347,7 @@ compute_resync_marker_size (const GstMpeg4VideoObjectPlane * vop, } } - return off; + return off++; /* Take the following 1 into account */ } /** |