[FFmpeg-soc] [soc]: r5357 - concat/libavformat/playlist.c

gkovacs subversion at mplayerhq.hu
Sun Aug 30 00:51:19 CEST 2009


Author: gkovacs
Date: Sun Aug 30 00:51:19 2009
New Revision: 5357

Log:
don't mix declarations and code

Modified:
   concat/libavformat/playlist.c

Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c	Sun Aug 30 00:49:51 2009	(r5356)
+++ concat/libavformat/playlist.c	Sun Aug 30 00:51:19 2009	(r5357)
@@ -74,10 +74,10 @@ int ff_playlist_set_streams(AVPlaylistCo
 {
     unsigned int i;
     AVFormatContext *s, *ic;
+    unsigned int offset = 0;
     if (!(s = ctx->master_formatcontext))
         return 0;
     ic = ctx->formatcontext_list[ctx->pe_curidx];
-    unsigned int offset = 0;
     if (ctx->pe_curidx > 0)
         offset = ctx->nb_streams_list[ctx->pe_curidx - 1];
     ic->iformat->read_header(ic, NULL);


More information about the FFmpeg-soc mailing list