summaryrefslogtreecommitdiff
path: root/libavformat/4xm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-27 21:58:45 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-27 21:58:45 +0000
commita10f1cbb934cd607643b08f43067233ae7620e75 (patch)
treee815f5abbb3197eddd38b40506b38a5871eb4297 /libavformat/4xm.c
parent68e1794e3a6e30f9898e67701b0bb111c186b595 (diff)
Move current_track variable closer to where it is used.
Originally committed as revision 16834 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/4xm.c')
-rw-r--r--libavformat/4xm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index 8d2fbe36d8..43aa64a286 100644
--- a/libavformat/4xm.c
+++ b/libavformat/4xm.c
@@ -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;