summaryrefslogtreecommitdiff
path: root/vp8/decoder
diff options
context:
space:
mode:
authorGaute Strokkenes <gaute.strokkenes@broadcom.com>2011-02-03 19:03:49 +0000
committerGaute Strokkenes <gaute.strokkenes@broadcom.com>2011-02-03 19:24:16 +0000
commitbf5f585b0d81d574ac6df53b387611760078aaa2 (patch)
tree433a42ba8c1b23839fa695fd2bd7cd6df17a4ed2 /vp8/decoder
parent209def2d726c4ab0eb2b7f99bddaf2d64b5a77a0 (diff)
downloadlibvpx-bf5f585b0d81d574ac6df53b387611760078aaa2.tar
libvpx-bf5f585b0d81d574ac6df53b387611760078aaa2.tar.gz
libvpx-bf5f585b0d81d574ac6df53b387611760078aaa2.tar.bz2
libvpx-bf5f585b0d81d574ac6df53b387611760078aaa2.zip
Make vp8_adjust_mb_lf_value return the updated value rather than
manipulating it in situ via a pointer. Change-Id: If4a87a4eccd84f39577c0e91e171245f4954c5cf
Diffstat (limited to 'vp8/decoder')
-rw-r--r--vp8/decoder/threading.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c
index 930d9b913..ec2cb2b07 100644
--- a/vp8/decoder/threading.c
+++ b/vp8/decoder/threading.c
@@ -320,7 +320,7 @@ THREAD_FUNCTION vp8_thread_decoding_proc(void *p_data)
* These are specified to 8th pel as they are always compared to values that are in 1/8th pel units
* Apply any context driven MB level adjustment
*/
- vp8_adjust_mb_lf_value(xd, &filter_level);
+ filter_level = vp8_adjust_mb_lf_value(xd, filter_level);
}
/* Distance of Mb to the various image edges.
@@ -863,7 +863,7 @@ void vp8mt_decode_mb_rows( VP8D_COMP *pbi, MACROBLOCKD *xd)
* These are specified to 8th pel as they are always compared to values that are in 1/8th pel units
* Apply any context driven MB level adjustment
*/
- vp8_adjust_mb_lf_value(xd, &filter_level);
+ filter_level = vp8_adjust_mb_lf_value(xd, filter_level);
}
/* Distance of Mb to the various image edges.