summaryrefslogtreecommitdiff
path: root/vp9/decoder/vp9_detokenize.c
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2013-06-07 13:27:08 +0100
committerPaul Wilkins <paulwilkins@google.com>2013-06-07 13:27:08 +0100
commit576c2bb02127d6d3b898bf4737e9f4c5f9ca72df (patch)
tree50847960fc52fe687bc8148652ff1935c424d99d /vp9/decoder/vp9_detokenize.c
parent653a25569ba09db521b3c6f26347fae000c7ae9b (diff)
downloadlibvpx-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.c2
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 {