[FFmpeg-soc] [soc]: r5221 - concat/libavformat/avplaylist.c
gkovacs
subversion at mplayerhq.hu
Mon Aug 24 00:07:24 CEST 2009
Author: gkovacs
Date: Mon Aug 24 00:07:24 2009
New Revision: 5221
Log:
merge init and declarations
Modified:
concat/libavformat/avplaylist.c
Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c Mon Aug 24 00:05:56 2009 (r5220)
+++ concat/libavformat/avplaylist.c Mon Aug 24 00:07:24 2009 (r5221)
@@ -60,11 +60,9 @@ void av_playlist_populate_context(AVPlay
void av_playlist_set_streams(AVFormatContext *s)
{
int i;
- int offset;
- AVFormatContext *ic;
AVPlaylistContext *ctx = s->priv_data;
- ic = ctx->icl[ctx->pe_curidx];
- offset = av_playlist_streams_offset_from_playidx(ctx, ctx->pe_curidx);
+ AVFormatContext *ic = ctx->icl[ctx->pe_curidx];
+ int offset = av_playlist_streams_offset_from_playidx(ctx, ctx->pe_curidx);
ic->iformat->read_header(ic, NULL);
for (i = 0; i < ic->nb_streams; ++i) {
s->streams[offset + i] = ic->streams[i];
More information about the FFmpeg-soc
mailing list