[FFmpeg-cvslog] avutil/tests/adler32: Remove unnecessary volatile
Andreas Rheinhardt
git at videolan.org
Sat Jan 29 22:30:39 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jan 23 11:20:50 2022 +0100| [98cef1ebbea61a605d151f5b46b453321e1b63a6] | committer: Andreas Rheinhardt
avutil/tests/adler32: Remove unnecessary volatile
And use an ordinary stack variable.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=98cef1ebbea61a605d151f5b46b453321e1b63a6
---
libavutil/tests/adler32.c | 3 +--
1 file changed, 1 insertion(+), 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);
More information about the ffmpeg-cvslog
mailing list