[FFmpeg-cvslog] avcodec/wma: Remove nonsense volatile
Andreas Rheinhardt
git at videolan.org
Wed May 12 07:47:40 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu May 6 07:47:03 2021 +0200| [0bc522a0a1c83894fbf7975e17de19ca34a02ae0] | committer: Andreas Rheinhardt
avcodec/wma: Remove nonsense volatile
The address of this variable never leaks, so it cannot be modified
by anyone else at all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0bc522a0a1c83894fbf7975e17de19ca34a02ae0
---
libavcodec/wma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/wma.c b/libavcodec/wma.c
index cfa5fa3355..ee04ef725f 100644
--- a/libavcodec/wma.c
+++ b/libavcodec/wma.c
@@ -79,7 +79,7 @@ av_cold int ff_wma_init(AVCodecContext *avctx, int flags2)
WMACodecContext *s = avctx->priv_data;
int i, ret;
float bps1, high_freq;
- volatile float bps;
+ float bps;
int sample_rate1;
int coef_vlc_table;
More information about the ffmpeg-cvslog
mailing list