1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-14 00:58:38 +02:00

avformat/iff: indent

Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Peter Ross 2014-04-13 14:45:10 +10:00 committed by Michael Niedermayer
parent d95c9679f7
commit e311b7446a

View File

@ -373,21 +373,21 @@ static int iff_read_header(AVFormatContext *s)
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
} else { } else {
switch (iff->svx8_compression) { switch (iff->svx8_compression) {
case COMP_NONE: case COMP_NONE:
st->codec->codec_id = AV_CODEC_ID_PCM_S8_PLANAR; st->codec->codec_id = AV_CODEC_ID_PCM_S8_PLANAR;
break; break;
case COMP_FIB: case COMP_FIB:
st->codec->codec_id = AV_CODEC_ID_8SVX_FIB; st->codec->codec_id = AV_CODEC_ID_8SVX_FIB;
break; break;
case COMP_EXP: case COMP_EXP:
st->codec->codec_id = AV_CODEC_ID_8SVX_EXP; st->codec->codec_id = AV_CODEC_ID_8SVX_EXP;
break; break;
default: default:
av_log(s, AV_LOG_ERROR, av_log(s, AV_LOG_ERROR,
"Unknown SVX8 compression method '%d'\n", iff->svx8_compression); "Unknown SVX8 compression method '%d'\n", iff->svx8_compression);
return -1; return -1;
} }
} }
st->codec->bits_per_coded_sample = av_get_bits_per_sample(st->codec->codec_id); st->codec->bits_per_coded_sample = av_get_bits_per_sample(st->codec->codec_id);