[FFmpeg-cvslog] r14346 - trunk/output_example.c

lucabe subversion
Wed Jul 23 12:57:52 CEST 2008


Author: lucabe
Date: Wed Jul 23 12:57:51 2008
New Revision: 14346

Log:
Reindent after last commit


Modified:
   trunk/output_example.c

Modified: trunk/output_example.c
==============================================================================
--- trunk/output_example.c	(original)
+++ trunk/output_example.c	Wed Jul 23 12:57:51 2008
@@ -157,7 +157,7 @@ static void write_audio_frame(AVFormatCo
     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(AVFormatCo
             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;




More information about the ffmpeg-cvslog mailing list