summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-06 07:47:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-12 06:00:13 +0200
commit0bc522a0a1c83894fbf7975e17de19ca34a02ae0 (patch)
tree6ad242153654b2033f7c0abe593e7dbf042d8fb5
parentd5e575ef6a30dfbfa74bc74f18932c03106dc0d2 (diff)
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@outlook.com>
-rw-r--r--libavcodec/wma.c2
1 files changed, 1 insertions, 1 deletions
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;