diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-09-30 17:31:49 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-11-21 22:13:41 +0000 |
commit | ae0230cc3e249971e7fe7747a12931bde71f9a11 (patch) | |
tree | a084beb226e111a141574a549febaa49da55fa18 /libavcodec/targa_y216dec.c | |
parent | 6796e6ea84f0afd205905220ed09ecf14f3f4359 (diff) | |
download | ffmpeg-ae0230cc3e249971e7fe7747a12931bde71f9a11.tar.gz |
vaapi_h265: Fix slice header writing
This was not observed earlier because the only syntax element which
it normally misses with the current setup is slice_qp_delta, but that
is always going to be zero (in IDR frames QP isn't varied on the
slice) which will always exp-golomb code as a single 1 bit. The
immediately following part is the byte alignment, which is always a 1
bit followed by 0s which are ignored, so as long as the bitstream is
never aligned at that point we will never notice because the only
difference is that an ignored bit is a 1 instead of a 0.
(cherry picked from commit fc30a90898e419cee7c7cb496976da6337d0bf3e)
Diffstat (limited to 'libavcodec/targa_y216dec.c')
0 files changed, 0 insertions, 0 deletions