mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 15:23:11 +00:00
Move current_track variable closer to where it is used.
Originally committed as revision 16834 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
68e1794e3a
commit
a10f1cbb93
@ -100,7 +100,6 @@ static int fourxm_read_header(AVFormatContext *s,
|
||||
FourxmDemuxContext *fourxm = s->priv_data;
|
||||
unsigned char *header;
|
||||
int i, ret;
|
||||
int current_track = -1;
|
||||
AVStream *st;
|
||||
|
||||
fourxm->track_count = 0;
|
||||
@ -162,6 +161,7 @@ static int fourxm_read_header(AVFormatContext *s,
|
||||
|
||||
i += 8 + size;
|
||||
} else if (fourcc_tag == strk_TAG) {
|
||||
int current_track;
|
||||
/* check that there is enough data */
|
||||
if (size != strk_SIZE) {
|
||||
ret= AVERROR_INVALIDDATA;
|
||||
|
Loading…
Reference in New Issue
Block a user