ac3parse: fix scanning for next syncword

This commit is contained in:
Mark Nauwelaerts 2009-12-21 18:19:23 +01:00
parent 3f5b4ee67f
commit 660cdc4679

View file

@ -397,7 +397,7 @@ gst_ac3_parse_check_valid_frame (GstBaseParse * parse, GstBuffer * buf,
/* didn't find anything that looks like a sync word, skip */
if (off < 0) {
*skipsize = GST_BUFFER_SIZE (buf) - 2;
*skipsize = GST_BUFFER_SIZE (buf) - 3;
return FALSE;
}