mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/replaygain: fix mixed declaration and statement
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e48fb4e1a5
commit
97751e1324
|
@ -71,11 +71,12 @@ int ff_replaygain_export_raw(AVStream *st, int32_t tg, uint32_t tp,
|
||||||
{
|
{
|
||||||
AVPacketSideData *sd, *tmp;
|
AVPacketSideData *sd, *tmp;
|
||||||
AVReplayGain *replaygain;
|
AVReplayGain *replaygain;
|
||||||
|
int i;
|
||||||
|
|
||||||
if (tg == INT32_MIN && ag == INT32_MIN)
|
if (tg == INT32_MIN && ag == INT32_MIN)
|
||||||
return 0;
|
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];
|
AVPacketSideData *src_sd = &st->side_data[i];
|
||||||
|
|
||||||
if (src_sd->type == AV_PKT_DATA_REPLAYGAIN)
|
if (src_sd->type == AV_PKT_DATA_REPLAYGAIN)
|
||||||
|
|
Loading…
Reference in New Issue