diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2016-03-11 17:44:07 +0200 |
---|---|---|
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2016-03-11 17:44:07 +0200 |
commit | a486942ba2d44ba2f60fec25175c681786021b48 (patch) | |
tree | 8797d0d555aa005ec55edcb1d565ed4c2fa3d42a | |
parent | 1b11e357d8b15e28bbb7061537f7782b9fb783b9 (diff) |
decoder: h265: Fix offset calculation in codec_data parsing
https://bugzilla.gnome.org/show_bug.cgi?id=762922
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c index 3c5a9d91..fd8250ad 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c @@ -2688,6 +2688,7 @@ gst_vaapi_decoder_h265_decode_codec_data (GstVaapiDecoder * goto cleanup; break; } + ofs = pi->nalu.offset + pi->nalu.size; gst_vaapi_parser_info_h265_replace (&pi, NULL); } } |