]> git.sesse.net Git - ffmpeg/commit
ac3enc: drop a global variable
authorAnton Khirnov <anton@khirnov.net>
Wed, 29 Jan 2020 15:34:48 +0000 (16:34 +0100)
committerJames Almer <jamrial@gmail.com>
Fri, 7 Feb 2020 16:36:57 +0000 (13:36 -0300)
commitaf1f1e8665414f37bd64c8f6878b808055abb0be
treed6bc7fe2940af720e2f1d1ef0368c67221569ec1
parent2b61c908b1a17553fa2542d7b3880d6be8618750
ac3enc: drop a global variable

Log the warning message once per encoder instance instead.

Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/ac3enc.c
libavcodec/ac3enc.h