projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7417120
)
fix if/else case
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sun, 3 Aug 2008 21:24:30 +0000
(21:24 +0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sun, 3 Aug 2008 21:24:30 +0000
(21:24 +0000)
Originally committed as revision 14526 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
252e7af
..
62efb0e
100644
(file)
--- 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;
}