• Mark Thompson's avatar
    vaapi_h264: Fix bit offset of slice data. · b3051a46
    Mark Thompson authored
    Commit ca2f19b9 modified the meaning of
    H264SliceContext.gb: it is now initialised at the start of the NAL unit
    header, rather than at the start of the slice header.  The VAAPI slice
    decoder uses the offset after parsing to determine the offset of the
    slice data in the bitstream, so with the changed meaning we no longer
    need to add the extra byte to account for the NAL unit header because
    it is now included directly.
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    b3051a46
vaapi_h264.c 16.5 KB