fix if/else case

Originally committed as revision 14526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-08-03 21:24:30 +00:00
parent 7417120b6f
commit 021b8ae39b

View File

@ -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;
}