summaryrefslogtreecommitdiff
path: root/output_example.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-07-23 10:57:51 +0000
committerLuca Abeni <lucabe72@email.it>2008-07-23 10:57:51 +0000
commit817a3de916d5b3199dfc0c177118a25046a898d7 (patch)
treee906793afa78fc0ba8ae319752ae5ad6cc97c42b /output_example.c
parentfb34e75d2a3a3be41b4cea3ee11e1fd138692b40 (diff)
Reindent after last commit
Originally committed as revision 14346 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'output_example.c')
-rw-r--r--output_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output_example.c b/output_example.c
index 0b0b67ffcf..bd9b7c3f6f 100644
--- a/output_example.c
+++ b/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;