Commit 97751e13 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/replaygain: fix mixed declaration and statement

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e48fb4e1
......@@ -71,11 +71,12 @@ int ff_replaygain_export_raw(AVStream *st, int32_t tg, uint32_t tp,
{
AVPacketSideData *sd, *tmp;
AVReplayGain *replaygain;
int i;
if (tg == INT32_MIN && ag == INT32_MIN)
return 0;
for (int i = 0; i < st->nb_side_data; i++) {
for (i = 0; i < st->nb_side_data; i++) {
AVPacketSideData *src_sd = &st->side_data[i];
if (src_sd->type == AV_PKT_DATA_REPLAYGAIN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment