h264: optimize scan for the second start code.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 12 Dec 2012 17:33:52 +0000 (18:33 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Dec 2012 14:31:51 +0000 (15:31 +0100)
commitf7f73931482550024fb71536b63a83dab1ea961d
tree8f9e7acc9ce2f4710b0e032beab2236df014f7dc
parent63c455d28d977e550813cc09103bb188242c755b
h264: 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_h264.c