Quellcode durchsuchen

Reindent after last commit

Originally committed as revision 14346 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni vor 17 Jahren
Ursprung
Commit
817a3de916
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      output_example.c

+ 2 - 2
output_example.c

@@ -157,7 +157,7 @@ static void write_audio_frame(AVFormatContext *oc, AVStream *st)
     pkt.size= avcodec_encode_audio(c, audio_outbuf, audio_outbuf_size, samples);
 
     if (c->coded_frame->pts != AV_NOPTS_VALUE)
-    pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
+        pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
     pkt.flags |= PKT_FLAG_KEY;
     pkt.stream_index= st->index;
     pkt.data= audio_outbuf;
@@ -382,7 +382,7 @@ static void write_video_frame(AVFormatContext *oc, AVStream *st)
             av_init_packet(&pkt);
 
             if (c->coded_frame->pts != AV_NOPTS_VALUE)
-            pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
+                pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
             if(c->coded_frame->key_frame)
                 pkt.flags |= PKT_FLAG_KEY;
             pkt.stream_index= st->index;