jpeg: fix calculation of offset to next marker segment.
authorJunfeng Xu <jun.feng.xu@intel.com>
Tue, 10 Sep 2013 07:46:09 +0000 (15:46 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 20 Sep 2013 16:32:12 +0000 (18:32 +0200)
commit9c29bbde58e1a9a343b8e973295c6d98bb8fed91
tree4b2bfad7306cb8ebb4107dc1769b69f24ef0e1d7
parenta1d91e038cb8ea1abe80350f4774cebd47fd65d5
jpeg: fix calculation of offset to next marker segment.

Fix calculation of the offset to the next marker segment since the
correction of the codecparser part to match the API specification.
i.e. the GstJpegMarkerSegment.size field represents the size in bytes
of the segment minus any marker prefix.

https://bugzilla.gnome.org/show_bug.cgi?id=707447

Signed-off-by: Junfeng Xu <jun.feng.xu@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c