1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

isom: fix C99-style declaration

This commit is contained in:
Michael Niedermayer 2014-03-16 12:22:26 +00:00 committed by Vittorio Giovara
parent 1481d24c3a
commit 6d7b22fb8f

View File

@ -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);