qtdemux: Fix compiler warning

qtdemux.c: In function ‘gst_qtdemux_configure_stream’:
qtdemux.c:7764:34: error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses]
     if ((stream->n_samples == 1) && (stream->first_duration == 0)
         ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Sebastian Dröge 2017-10-10 18:04:50 +03:00
parent 5874bafa4f
commit 728a1629cf

View file

@ -7761,7 +7761,7 @@ gst_qtdemux_configure_stream (GstQTDemux * qtdemux, QtDemuxStream * stream)
* qt does not have a fixed framerate. */
gboolean fps_available = TRUE;
if ((stream->n_samples == 1) && (stream->first_duration == 0)
if ((stream->n_samples == 1 && stream->first_duration == 0)
|| (qtdemux->fragmented && stream->n_samples_moof == 1)) {
/* still frame */
CUR_STREAM (stream)->fps_n = 0;