vl/rbsp: fix another three byte not detected
authorLeo Liu <leo.liu@amd.com>
Mon, 22 Aug 2016 16:05:53 +0000 (12:05 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 24 Aug 2016 15:17:16 +0000 (11:17 -0400)
commit5277f25480a290b02c7bfe548c56288fce8404b5
treea5f267e346d1b0d640fc310917595c77ad12267f
parent2c13abb49137d0f81b530b3c67f1ed79c58c796e
vl/rbsp: fix another three byte not detected

This happens when three byte "00 00 03" is partly loaded to
vlc->buffer, thus at the bottom of buffer with valid bits is
"00" or "00 00" and left  like "00 03" or "03" in the data,
so that it will not be detected by three byte emulation check.
The reason for that is the escaped bit was set to 0 from the
rbsp init.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/vl/vl_rbsp.h