mpeg2: optimize scan for the second start code.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 2 Jan 2013 13:18:31 +0000 (14:18 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 3 Jan 2013 08:08:19 +0000 (09:08 +0100)
commit7ca43932e5d37035d5876988678d051168f8d371
treed3e209a492581b06b83c8cd85e56b785abafde3d
parent9458bbdc162ceecc51a35d7d2db95b343093d903
mpeg2: optimize scan for the second start code.

Optimize scan for the second start code, on the next parse() call so that
to avoid scanning again earlier bytes where we didn't find any start code.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c