[FFmpeg-cvslog] libavfilter: add a default to silence a warning.

Nicolas George git at videolan.org
Tue Jul 5 08:37:11 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Mon Jul  4 20:43:37 2011 +0200| [e6d88f63a805be3a866fe76f7453e8da71bc2e00] | committer: Nicolas George

libavfilter: add a default to silence a warning.

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

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

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 704b77d..226d7be 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -162,6 +162,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