[vlc-devel] [PATCH] demux:mkv: fix a compilation warning

Steve Lhomme robux4 at videolabs.io
Wed Jul 12 15:16:41 CEST 2017


---
 modules/demux/mkv/matroska_segment.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index a271d94a46..b7b8667ef2 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -912,6 +912,7 @@ void matroska_segment_c::ComputeTrackPriority()
         {
             case VIDEO_ES: b_has_default_video |= flag; break;
             case AUDIO_ES: b_has_default_audio |= flag; break;
+            default: break; // ignore
         }
     }
 
-- 
2.12.1



More information about the vlc-devel mailing list