diff --git a/avconv.c b/avconv.c
index 3dddc8d1f600a258674a87d589fe70f676ddc2ea..c8ffd64156767510dfa179de0b4b9cf92f654b31 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2257,7 +2257,7 @@ static int transcode(OutputFile *output_files,
             if (ost->is_past_recording_time || no_packet[ist->file_index] ||
                 (os->pb && avio_tell(os->pb) >= of->limit_filesize))
                 continue;
-                opts = ost->st->pts.val * av_q2d(ost->st->time_base);
+            opts = ost->st->pts.val * av_q2d(ost->st->time_base);
             ipts = ist->pts;
             if (!input_files[ist->file_index].eof_reached){
                 if(ipts < ipts_min) {