libavfilter: add a default to silence a warning.
authorNicolas George <nicolas.george@normalesup.org>
Mon, 4 Jul 2011 18:43:37 +0000 (20:43 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 5 Jul 2011 06:27:42 +0000 (08:27 +0200)
libavfilter/avfilter.h

index 704b77d..226d7be 100644 (file)
@@ -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;
     }
 }