From e925fe104cd6b0b54d60af0368b5810c4aafc4c7 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 17 Apr 2009 14:38:52 +0000 Subject: [PATCH] Move declarations in sync() closer to where they are used. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18556 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavformat/rmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 2dbe7bcc6..0c133246f 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -501,11 +501,11 @@ static int get_num(ByteIOContext *pb, int *len) 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; -- 2.39.2