[FFmpeg-cvslog] avfilter/asrc_flite: Don't define an object by accident
Andreas Rheinhardt
git at videolan.org
Sun Aug 8 19:48:38 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Aug 7 02:53:39 2021 +0200| [7fbf1f21ab34649e87747d6cbc6b4b03adc6acb8] | committer: Andreas Rheinhardt
avfilter/asrc_flite: Don't define an object by accident
The flite filter apparently only wanted to declare a struct,
but mistakenly also defined an unused and zero-initialized element
with external linkage.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7fbf1f21ab34649e87747d6cbc6b4b03adc6acb8
---
libavfilter/asrc_flite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c
index e3065cff79..1478cc07fa 100644
--- a/libavfilter/asrc_flite.c
+++ b/libavfilter/asrc_flite.c
@@ -81,7 +81,7 @@ struct voice_entry {
void (*unregister_fn)(cst_voice *);
cst_voice *voice;
unsigned usage_count;
-} voice_entry;
+};
#define MAKE_VOICE_STRUCTURE(voice_name) { \
.name = #voice_name, \
More information about the ffmpeg-cvslog
mailing list