projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68e1794
)
Move current_track variable closer to where it is used.
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 27 Jan 2009 21:58:45 +0000
(21:58 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 27 Jan 2009 21:58:45 +0000
(21:58 +0000)
Originally committed as revision 16834 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/4xm.c
patch
|
blob
|
history
diff --git
a/libavformat/4xm.c
b/libavformat/4xm.c
index 8d2fbe36d80201de9363c675d820ca98bd48d13d..43aa64a286a6be2f25d49e4d814dc4ac2bce4872 100644
(file)
--- 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;