diff options
author | Paul Wilkins <paulwilkins@google.com> | 2013-06-07 13:27:08 +0100 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2013-06-07 13:27:08 +0100 |
commit | 576c2bb02127d6d3b898bf4737e9f4c5f9ca72df (patch) | |
tree | 50847960fc52fe687bc8148652ff1935c424d99d /vp9/decoder/vp9_detokenize.c | |
parent | 653a25569ba09db521b3c6f26347fae000c7ae9b (diff) | |
download | libvpx-576c2bb02127d6d3b898bf4737e9f4c5f9ca72df.tar libvpx-576c2bb02127d6d3b898bf4737e9f4c5f9ca72df.tar.gz libvpx-576c2bb02127d6d3b898bf4737e9f4c5f9ca72df.tar.bz2 libvpx-576c2bb02127d6d3b898bf4737e9f4c5f9ca72df.zip |
Fix bug in segment skip.
Wrong max data size (skip has no data) and use of vp9_get_segdata()
when it should be vp9_segfeature_active().
Change-Id: I1eb97d33df6e2a42cc589049f704266fe3639902
Diffstat (limited to 'vp9/decoder/vp9_detokenize.c')
-rw-r--r-- | vp9/decoder/vp9_detokenize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_detokenize.c b/vp9/decoder/vp9_detokenize.c index 655c358eb..d06c9b000 100644 --- a/vp9/decoder/vp9_detokenize.c +++ b/vp9/decoder/vp9_detokenize.c @@ -293,7 +293,7 @@ SKIP_START: } static int get_eob(MACROBLOCKD* const xd, int segment_id, int eob_max) { - return vp9_get_segdata(xd, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; + return vp9_segfeature_active(xd, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; } struct decode_block_args { |