aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-03 21:24:30 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-03 21:24:30 +0000
commit021b8ae39bbd436282a6a428c1d5e65a30ef3d27 (patch)
treed67e194b5852f3ef3d63734c7977f80b540cd32d /libavformat/mov.c
parent7417120b6feebe49aac0a8fcd2959b2ea968a8b5 (diff)
downloadffmpeg-021b8ae39bbd436282a6a428c1d5e65a30ef3d27.tar.gz
fix if/else case
Originally committed as revision 14526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 252e7af585..62efb0e8f4 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -692,7 +692,7 @@ static int mov_get_lpcm_codec_id(int bps, int flags)
if (bps == 8)
if (flags & 4) return CODEC_ID_PCM_S8;
else return CODEC_ID_PCM_U8;
- if (bps == 16) return CODEC_ID_PCM_S16LE;
+ else if (bps == 16) return CODEC_ID_PCM_S16LE;
else if (bps == 24) return CODEC_ID_PCM_S24LE;
else if (bps == 32) return CODEC_ID_PCM_S32LE;
}