[FFmpeg-cvslog] r18556 - trunk/libavformat/rmdec.c
michael
subversion
Fri Apr 17 16:38:52 CEST 2009
Author: michael
Date: Fri Apr 17 16:38:52 2009
New Revision: 18556
Log:
Move declarations in sync() closer to where they are used.
Modified:
trunk/libavformat/rmdec.c
Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c Fri Apr 17 16:16:37 2009 (r18555)
+++ trunk/libavformat/rmdec.c Fri Apr 17 16:38:52 2009 (r18556)
@@ -501,11 +501,11 @@ static int get_num(ByteIOContext *pb, in
static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_index, int64_t *pos){
RMDemuxContext *rm = s->priv_data;
ByteIOContext *pb = s->pb;
- int len, num, res, i;
AVStream *st;
uint32_t state=0xFFFFFFFF;
while(!url_feof(pb)){
+ int len, num, res, i;
*pos= url_ftell(pb) - 3;
if(rm->remaining_len > 0){
num= rm->current_stream;
More information about the ffmpeg-cvslog
mailing list