[FFmpeg-cvslog] lavf/dv: reindent after previous commit

Clément Bœsch git at videolan.org
Sun Mar 20 19:29:50 CET 2016


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Mar 20 19:28:07 2016 +0100| [6c0cf11f38f3306773401bf35174703cb4f12dd5] | committer: Clément Bœsch

lavf/dv: reindent after previous commit

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6c0cf11f38f3306773401bf35174703cb4f12dd5
---

 libavformat/dv.c |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/libavformat/dv.c b/libavformat/dv.c
index b1f8759..890f124 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -285,21 +285,21 @@ static int dv_extract_video_info(DVDemuxContext *c, const uint8_t *frame)
     AVCodecContext *avctx;
     int apt, is16_9;
 
-        avctx = c->vst->codec;
-
-        avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num,
-                            c->sys->time_base.den);
-        c->vst->avg_frame_rate = av_inv_q(c->vst->time_base);
-
-        /* finding out SAR is a little bit messy */
-        vsc_pack = dv_extract_pack(frame, dv_video_control);
-        apt      = frame[4] & 0x07;
-        is16_9   = (vsc_pack && ((vsc_pack[2] & 0x07) == 0x02 ||
-                                 (!apt && (vsc_pack[2] & 0x07) == 0x07)));
-        c->vst->sample_aspect_ratio = c->sys->sar[is16_9];
-        avctx->bit_rate = av_rescale_q(c->sys->frame_size,
-                                       (AVRational) { 8, 1 },
-                                       c->sys->time_base);
+    avctx = c->vst->codec;
+
+    avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num,
+                        c->sys->time_base.den);
+    c->vst->avg_frame_rate = av_inv_q(c->vst->time_base);
+
+    /* finding out SAR is a little bit messy */
+    vsc_pack = dv_extract_pack(frame, dv_video_control);
+    apt      = frame[4] & 0x07;
+    is16_9   = (vsc_pack && ((vsc_pack[2] & 0x07) == 0x02 ||
+                             (!apt && (vsc_pack[2] & 0x07) == 0x07)));
+    c->vst->sample_aspect_ratio = c->sys->sar[is16_9];
+    avctx->bit_rate = av_rescale_q(c->sys->frame_size,
+                                   (AVRational) { 8, 1 },
+                                   c->sys->time_base);
     return c->sys->frame_size;
 }
 



More information about the ffmpeg-cvslog mailing list