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.rheinha...@outlook.com>
---
Would not have happened if one had actually defined a typedef.

 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, \
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to