diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-04-17 14:38:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-04-17 14:38:52 +0000 |
commit | b33d75fd80780a605f44cfac894d896f62f62ba9 (patch) | |
tree | ffb6e184ab341ed084b8e35b9151b724a3c8e84e /libavformat/rmdec.c | |
parent | 236580b478fa7ae242dcc3fc5b9cfceb6f67d9a1 (diff) | |
download | ffmpeg-b33d75fd80780a605f44cfac894d896f62f62ba9.tar.gz |
Move declarations in sync() closer to where they are used.
Originally committed as revision 18556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 2dbe7bcc6d..0c133246f3 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; |