[FFmpeg-soc] [soc]: r5385 - concat/libavformat/avplaylist.c

gkovacs subversion at mplayerhq.hu
Thu Sep 3 22:08:27 CEST 2009


Author: gkovacs
Date: Thu Sep  3 22:08:27 2009
New Revision: 5385

Log:
align assignments

Modified:
   concat/libavformat/avplaylist.c

Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c	Thu Sep  3 22:07:06 2009	(r5384)
+++ concat/libavformat/avplaylist.c	Thu Sep  3 22:08:27 2009	(r5385)
@@ -78,10 +78,10 @@ int av_playlist_insert_item(AVPlaylistCo
         return AVERROR_NOMEM;
     }
     if (pos > 0) {
-        durations_offset = ic->duration + ctx->durations[pos - 1];
+        durations_offset  = ic->duration + ctx->durations[pos - 1];
         nb_streams_offset = ic->nb_streams + ctx->nb_streams_list[pos - 1];
     } else {
-        durations_offset = ic->duration;
+        durations_offset  = ic->duration;
         nb_streams_offset = ic->nb_streams;
     }
     av_close_input_file(ic);
@@ -139,10 +139,10 @@ int av_playlist_remove_item(AVPlaylistCo
     --ctx->pelist_size;
     av_free(ctx->flist[pos]);
     if (pos > 0) {
-        durations_offset = ctx->durations[pos] - ctx->durations[pos - 1];
+        durations_offset  = ctx->durations[pos] - ctx->durations[pos - 1];
         nb_streams_offset = ctx->nb_streams_list[pos] - ctx->nb_streams_list[pos - 1];
     } else {
-        durations_offset = ctx->durations[pos];
+        durations_offset  = ctx->durations[pos];
         nb_streams_offset = ctx->nb_streams_list[pos];
     }
     if (ctx->formatcontext_list && ctx->formatcontext_list[pos]) {


More information about the FFmpeg-soc mailing list