]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: fix wrong indention that leaked in from merge
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 28 Sep 2011 00:11:07 +0000 (02:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 28 Sep 2011 01:19:22 +0000 (03:19 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index ce57fd927d4a423321a10fd97af104beabe2e506..0ebf96dcb52fe6889602a818b96bfd466a653307 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1745,11 +1745,11 @@ static int output_packet(InputStream *ist, int ist_index,
             if (of->start_time == 0 || ist->pts >= of->start_time) {
                 ost = &ost_table[i];
                 if (ost->input_video_filter && ost->source_index == ist_index) {
-                if (!decoded_frame->sample_aspect_ratio.num)
-                    decoded_frame->sample_aspect_ratio = ist->st->sample_aspect_ratio;
-                decoded_frame->pts = ist->pts;
+                    if (!decoded_frame->sample_aspect_ratio.num)
+                        decoded_frame->sample_aspect_ratio = ist->st->sample_aspect_ratio;
+                    decoded_frame->pts = ist->pts;
 
-                av_vsrc_buffer_add_frame(ost->input_video_filter, decoded_frame, AV_VSRC_BUF_FLAG_OVERWRITE);
+                    av_vsrc_buffer_add_frame(ost->input_video_filter, decoded_frame, AV_VSRC_BUF_FLAG_OVERWRITE);
                 }
             }
         }