[vlc-commits] demux:mkv: fix a compilation warning

Steve Lhomme git at videolan.org
Thu Jul 13 11:10:08 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jul 12 15:11:41 2017 +0200| [f3ba8c95d81be7fd95d85bc32f684aad2a26d6d5] | committer: Jean-Baptiste Kempf

demux:mkv: fix a compilation warning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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
         }
     }
 



More information about the vlc-commits mailing list