changeset 5875:c973ff61882e libavformat

Silence ridiculous gcc warning.
author cehoyos
date Wed, 24 Mar 2010 11:11:25 +0000
parents 6a24c2ae6ee4
children 2c0f0162a110
files matroskaenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroskaenc.c	Wed Mar 24 10:41:58 2010 +0000
+++ b/matroskaenc.c	Wed Mar 24 11:11:25 2010 +0000
@@ -909,7 +909,7 @@
     }
 
     // start a new cluster every 5 MB or 5 sec, or 32k / 1 sec for streaming
-    if (url_is_streamed(s->pb) && (url_ftell(pb) > 32*1024 || ts > mkv->cluster_pts + 1000)
+    if ((url_is_streamed(s->pb) && (url_ftell(pb) > 32*1024 || ts > mkv->cluster_pts + 1000))
         ||  url_ftell(pb) > mkv->cluster_pos + 5*1024*1024 || ts > mkv->cluster_pts + 5000) {
         av_log(s, AV_LOG_DEBUG, "Starting new cluster at offset %" PRIu64
                " bytes, pts %" PRIu64 "\n", url_ftell(pb), ts);