diff options
author | Andreas Rheinhardt <[email protected]> | 2025-09-04 12:29:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2025-09-12 21:39:27 +0200 |
commit | 6384254db203bea90b57b0f4dd8f32726a22a249 (patch) | |
tree | ea73f7520bc53a5c010a96817236008ae5d2c6de | |
parent | 87282710975c11f423a26f4e4df86daf12a34485 (diff) |
avcodec/mpegaudiodec_template: Avoid write-only stores
Reviewed-by: Peter Ross <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r-- | libavcodec/mpegaudiodec_template.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodec_template.c b/libavcodec/mpegaudiodec_template.c index 3ca9adb8ab..0efcf9853d 100644 --- a/libavcodec/mpegaudiodec_template.c +++ b/libavcodec/mpegaudiodec_template.c @@ -1792,7 +1792,9 @@ static av_cold int decode_init_mp3on4(AVCodecContext * avctx) s->mp3decctx[i]->adu_mode = 1; s->mp3decctx[i]->avctx = avctx; s->mp3decctx[i]->mpadsp = s->mp3decctx[0]->mpadsp; +#if USE_FLOATS s->mp3decctx[i]->butterflies_float = s->mp3decctx[0]->butterflies_float; +#endif } return 0; |