ffmpeg | branch: master | Anton Khirnov <[email protected]> | Wed Feb  3 
16:16:37 2021 +0100| [1c36e7c1a524cd944679b3be8a52dde85d442ada] | committer: 
Anton Khirnov

lavc/ac3enc: rename variable to avoid shadowing

Harmless, but confusing.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1c36e7c1a524cd944679b3be8a52dde85d442ada
---

 libavcodec/ac3enc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 65602d2021..8044e6dcd0 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -2536,8 +2536,8 @@ av_cold int ff_ac3_encode_init(AVCodecContext *avctx)
     }
 
     if (CONFIG_EAC3_ENCODER && s->eac3) {
-        static AVOnce init_static_once = AV_ONCE_INIT;
-        ff_thread_once(&init_static_once, ff_eac3_exponent_init);
+        static AVOnce init_static_once_eac3 = AV_ONCE_INIT;
+        ff_thread_once(&init_static_once_eac3, ff_eac3_exponent_init);
         s->output_frame_header = ff_eac3_output_frame_header;
     } else
         s->output_frame_header = ac3_output_frame_header;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to