[FFmpeg-cvslog] avformat/isom: fix mix of declaration and statement
Michael Niedermayer
git at videolan.org
Sun Mar 16 14:15:55 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 16 14:05:14 2014 +0100| [cd0982e1899d24df4f1989ed857de5e477c64763] | committer: Michael Niedermayer
avformat/isom: fix mix of declaration and statement
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd0982e1899d24df4f1989ed857de5e477c64763
---
libavformat/isom.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/isom.c b/libavformat/isom.c
index 24e4564..ffe369e 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);
More information about the ffmpeg-cvslog
mailing list