[vlc-commits] flac: fix unused expression warning

Rémi Denis-Courmont git at videolan.org
Sun Jul 14 11:29:49 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 14 12:09:35 2019 +0300| [0e05efeb0d30914a6934cb1bcea0f7b44bac59cf] | committer: Rémi Denis-Courmont

flac: fix unused expression warning

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

 modules/demux/flac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/flac.c b/modules/demux/flac.c
index d82eab7adf..a8acb5ac60 100644
--- a/modules/demux/flac.c
+++ b/modules/demux/flac.c
@@ -270,7 +270,7 @@ static int RefineSeek( demux_t *p_demux, vlc_tick_t i_time, double i_bytemicrora
     unsigned i_frame_size = FLAC_FRAME_SIZE_MIN;
 
     bool b_canfastseek = false;
-    (int) vlc_stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &b_canfastseek );
+    vlc_stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &b_canfastseek );
 
     uint64_t i_start_pos = vlc_stream_Tell( p_demux->s );
 



More information about the vlc-commits mailing list