diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-16 12:22:26 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-16 23:05:48 +0100 |
commit | 6d7b22fb8f247a51e668c83b2f2460a9b3e948a8 (patch) | |
tree | 084170f44e86c0b1bb0cec01102370e8809f49de | |
parent | 1481d24c3a0abf81e1d7a514547bd5305232be30 (diff) | |
download | ffmpeg-6d7b22fb8f247a51e668c83b2f2460a9b3e948a8.tar.gz |
isom: fix C99-style declaration
-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 e13f9cf08d..e15875e066 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -442,11 +442,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); |