[FFmpeg-cvslog] lavdev/lavfi: reindent after the last commit

Stefano Sabatini git at videolan.org
Fri Sep 16 21:23:23 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Mon Aug 29 17:54:21 2011 +0200| [e3fc0e8280221639be9b02b27ab8fee2dd2b1b29] | committer: Stefano Sabatini

lavdev/lavfi: reindent after the last commit

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

 libavdevice/lavfi.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 42079e4..4d7297b 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -289,15 +289,15 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
     stream_idx = lavfi->sink_stream_map[min_pts_sink_idx];
 
     if (ref->video) {
-    size = avpicture_get_size(ref->format, ref->video->w, ref->video->h);
-    if ((ret = av_new_packet(pkt, size)) < 0)
-        return ret;
+        size = avpicture_get_size(ref->format, ref->video->w, ref->video->h);
+        if ((ret = av_new_packet(pkt, size)) < 0)
+            return ret;
 
-    memcpy(pict.data,     ref->data,     4*sizeof(ref->data[0]));
-    memcpy(pict.linesize, ref->linesize, 4*sizeof(ref->linesize[0]));
+        memcpy(pict.data,     ref->data,     4*sizeof(ref->data[0]));
+        memcpy(pict.linesize, ref->linesize, 4*sizeof(ref->linesize[0]));
 
-    avpicture_layout(&pict, ref->format, ref->video->w,
-                     ref->video->h, pkt->data, size);
+        avpicture_layout(&pict, ref->format, ref->video->w,
+                         ref->video->h, pkt->data, size);
     } else if (ref->audio) {
         size = ref->linesize[0];
         if ((ret = av_new_packet(pkt, size)) < 0)



More information about the ffmpeg-cvslog mailing list