[vlc-commits] avformat/mux: fix switch warning
Rémi Denis-Courmont
git at videolan.org
Thu Sep 7 21:12:18 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 7 22:03:50 2017 +0300| [6a800c037c44e6c4598bf5c45d7766a0f33f4d2f] | committer: Rémi Denis-Courmont
avformat/mux: fix switch warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a800c037c44e6c4598bf5c45d7766a0f33f4d2f
---
modules/demux/avformat/mux.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index f339af312c..1c01253184 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -288,6 +288,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
msg_Dbg( p_mux, "Muxing video bitrate will be %d", fmt->i_bitrate );
break;
+ default:
+ vlc_assert_unreachable();
}
codec->bit_rate = i_bitrate;
More information about the vlc-commits
mailing list