[FFmpeg-cvslog] Disable annoying warning without changing behavior

Andrey Utkin git at videolan.org
Sun Jan 8 04:21:43 CET 2012


ffmpeg | branch: master | Andrey Utkin <andrey.krieger.utkin at gmail.com> | Sat Jan  7 22:38:00 2012 +0200| [079688b6cbd2944ab84d3539efcde161aa090fac] | committer: Ronald S. Bultje

Disable annoying warning without changing behavior

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

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

 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 ffmpeg-cvslog mailing list