diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-23 11:20:50 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-29 21:26:26 +0100 |
commit | 98cef1ebbea61a605d151f5b46b453321e1b63a6 (patch) | |
tree | b03ecb1fb32e961eafca286f669e75b4d52836d6 /libavutil/tests | |
parent | f0a7db12a28b4f1675b1b8e125d92024fd98d239 (diff) | |
download | ffmpeg-98cef1ebbea61a605d151f5b46b453321e1b63a6.tar.gz |
avutil/tests/adler32: Remove unnecessary volatile
And use an ordinary stack variable.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/tests')
-rw-r--r-- | libavutil/tests/adler32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavutil/tests/adler32.c b/libavutil/tests/adler32.c index 13f760b477..356e1a97e7 100644 --- a/libavutil/tests/adler32.c +++ b/libavutil/tests/adler32.c @@ -27,12 +27,11 @@ #define LEN 7001 -static volatile int checksum; - int main(int argc, char **argv) { int i; uint8_t data[LEN]; + AVAdler checksum; av_log_set_level(AV_LOG_DEBUG); |