aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-19 02:40:18 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2018-12-31 17:44:18 +0100
commit1be9a28f8e8cd2553f978670901174a8808b9a1a (patch)
treecacd06dd17448c1e95df7137c4b9f2781b7e04a0 /libavcodec/tests
parent41c1643d75860208d6debb8cb85d3edbd9457bd3 (diff)
downloadffmpeg-1be9a28f8e8cd2553f978670901174a8808b9a1a.tar.gz
avcodec/rangecoder: factorize termination version code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/tests')
-rw-r--r--libavcodec/tests/rangecoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tests/rangecoder.c b/libavcodec/tests/rangecoder.c
index 2da5c0ce33..76a13e7091 100644
--- a/libavcodec/tests/rangecoder.c
+++ b/libavcodec/tests/rangecoder.c
@@ -48,7 +48,7 @@ int main(void)
for (i = 0; i < SIZE; i++)
put_rac(&c, state, r[i] & 1);
- ff_rac_terminate(&c);
+ ff_rac_terminate(&c, 0);
ff_init_range_decoder(&c, b, SIZE);