[FFmpeg-cvslog] r14526 - trunk/libavformat/mov.c

bcoudurier subversion
Sun Aug 3 23:24:31 CEST 2008


Author: bcoudurier
Date: Sun Aug  3 23:24:30 2008
New Revision: 14526

Log:
fix if/else case

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Sun Aug  3 23:24:30 2008
@@ -692,7 +692,7 @@ static int mov_get_lpcm_codec_id(int bps
             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;
         }




More information about the ffmpeg-cvslog mailing list