[FFmpeg-cvslog] flvdec: Fix indentation

Martin Storsjö git at videolan.org
Thu Feb 23 05:03:02 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb 22 11:00:35 2012 +0200| [0a7ce3caa8a08d38f35b0e1aae8528a99781cb9e] | committer: Martin Storsjö

flvdec: Fix indentation

Also split a long line.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavformat/flvdec.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 1e1c29b..70a7d20 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -204,8 +204,9 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream
     }
 
     if (!ret && timeslen == fileposlen)
-         for (i = 0; i < fileposlen; i++)
-             av_add_index_entry(vstream, filepositions[i], times[i]*1000, 0, 0, AVINDEX_KEYFRAME);
+        for (i = 0; i < fileposlen; i++)
+            av_add_index_entry(vstream, filepositions[i], times[i]*1000,
+                               0, 0, AVINDEX_KEYFRAME);
     else
         av_log(s, AV_LOG_WARNING, "Invalid keyframes object, skipping.\n");
 



More information about the ffmpeg-cvslog mailing list