Mercurial > libavformat.hg
changeset 4885:6dcc7fc57422 libavformat
Move declarations in sync() closer to where they are used.
author | michael |
---|---|
date | Fri, 17 Apr 2009 14:38:52 +0000 |
parents | 4a03abe2c1a6 |
children | 0dcec0a53438 |
files | rmdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rmdec.c Fri Apr 17 14:16:37 2009 +0000 +++ b/rmdec.c Fri Apr 17 14:38:52 2009 +0000 @@ -501,11 +501,11 @@ 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;