[libav-commits] Disable annoying warning without changing behavior

Andrey Utkin git at libav.org
Sat Jan 7 21:48:31 CET 2012


Module: libav
Branch: master
Commit: 079688b6cbd2944ab84d3539efcde161aa090fac

Author:    Andrey Utkin <andrey.krieger.utkin at gmail.com>
Committer: Ronald S. Bultje <rsbultje at gmail.com>
Date:      Sat Jan  7 22:38:00 2012 +0200

Disable annoying warning without changing behavior

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

---

 libavfilter/avfilter.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 70efc5c..cffcfca 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -164,6 +164,7 @@ static inline void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilt
     switch (src->type) {
     case AVMEDIA_TYPE_VIDEO: *dst->video = *src->video; break;
     case AVMEDIA_TYPE_AUDIO: *dst->audio = *src->audio; break;
+    default: break;
     }
 }
 



More information about the libav-commits mailing list