mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
Revert "codecparsers: remove ignored increment of return"
This reverts commit 916b954315
.
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
This commit is contained in:
parent
c7eb883e22
commit
b14fb383ed
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ compute_resync_marker_size (const GstMpeg4VideoObjectPlane * vop,
|
|||
}
|
||||
}
|
||||
|
||||
return off;
|
||||
return off++; /* Take the following 1 into account */
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue