Browse code

avformat/replaygain: fix mixed declaration and statement

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/04/18 08:16:27
Showing 1 changed files
... ...
@@ -71,11 +71,12 @@ int ff_replaygain_export_raw(AVStream *st, int32_t tg, uint32_t tp,
71 71
 {
72 72
     AVPacketSideData *sd, *tmp;
73 73
     AVReplayGain *replaygain;
74
+    int i;
74 75
 
75 76
     if (tg == INT32_MIN && ag == INT32_MIN)
76 77
         return 0;
77 78
 
78
-    for (int i = 0; i < st->nb_side_data; i++) {
79
+    for (i = 0; i < st->nb_side_data; i++) {
79 80
         AVPacketSideData *src_sd = &st->side_data[i];
80 81
 
81 82
         if (src_sd->type == AV_PKT_DATA_REPLAYGAIN)