diff --git a/ffmpeg.c b/ffmpeg.c
index 450fc616c9d06ec718903a4a161ae8bfdbe2e801..74461d368fae90c3f640ea4a51aa216e6c5b2c57 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -221,7 +221,7 @@ static int video_sync_method= -1;
 static int audio_sync_method= 0;
 static float audio_drift_threshold= 0.1;
 static int copy_ts= 0;
-static int copy_tb;
+static int copy_tb= 0;
 static int opt_shortest = 0;
 static int video_global_header = 0;
 static char *vstats_filename;