changeset 3626:3a7f7509bf3c libavformat

fix if/else case
author bcoudurier
date Sun, 03 Aug 2008 21:24:30 +0000
parents 022f5a9504db
children 0dd9806a26ea
files mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sun Aug 03 18:37:35 2008 +0000
+++ b/mov.c	Sun Aug 03 21:24:30 2008 +0000
@@ -692,7 +692,7 @@
             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;
         }