Revert "mpegvparse: Fix last start code position when input buffer is empty"

This reverts commit 7c23a6f23c.

The fix was not complete, see discussion in
https://bugzilla.gnome.org/show_bug.cgi?id=711627
This commit is contained in:
Sebastian Dröge 2013-11-09 09:43:56 +01:00
parent 73888f8e38
commit ed295e83c2

View file

@ -666,7 +666,7 @@ next:
} else {
GST_LOG_OBJECT (mpvparse, "need more data");
/* resume scan where we left it */
mpvparse->last_sc = size - 4;
mpvparse->last_sc = size - 3;
/* request best next available */
off = G_MAXUINT;
goto exit;