diff --git a/ffmpeg.c b/ffmpeg.c
index 8f10304bae0f9e8ae9a9f1653fc447b5d0b8928c..e5bd1b1d08f7340aaad67d9ec3659a2afecbf123 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1367,7 +1367,7 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
             duration = ist->st->codec->frame_size;
         opkt.dts = opkt.pts = av_rescale_delta(ist->st->time_base, pkt->dts,
                                                (AVRational){1, ist->st->codec->sample_rate}, duration, &ist->filter_in_rescale_delta_last,
-                                               ost->st->time_base) - ost_tb_start_time;;
+                                               ost->st->time_base) - ost_tb_start_time;
     }
 
     opkt.duration = av_rescale_q(pkt->duration, ist->st->time_base, ost->st->time_base);