diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-16 14:05:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-16 14:05:14 +0100 |
commit | cd0982e1899d24df4f1989ed857de5e477c64763 (patch) | |
tree | 1922d78a6be01674e365073129a330d33f591c70 /libavformat/isom.c | |
parent | 09680951dfdfb20898b8cc4fd4068c78dde75c32 (diff) | |
download | ffmpeg-cd0982e1899d24df4f1989ed857de5e477c64763.tar.gz |
avformat/isom: fix mix of declaration and statement
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/isom.c')
-rw-r--r-- | libavformat/isom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c index 24e45643a5..ffe369e19d 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -460,11 +460,12 @@ static int mov_rewrite_dvd_sub_extradata(AVStream *st) char buf[256]; int pal_s_pos = 0; uint8_t *src = st->codec->extradata; + int i; if (st->codec->extradata_size != 64) return 0; - for (int i = 0; i < 16; i++) { + for (i = 0; i < 16; i++) { uint32_t yuv = AV_RB32(src + i * 4); uint32_t rgba = yuv_to_rgba(yuv); |