[Ffmpeg-cvslog] r6371 - trunk/libavformat/mov.c

bcoudurier subversion
Thu Sep 28 19:52:49 CEST 2006


Author: bcoudurier
Date: Thu Sep 28 19:52:48 2006
New Revision: 6371

Modified:
   trunk/libavformat/mov.c

Log:
change codec id if sample size field is set to 24 in stsd, fix Sony-mx5p.mov

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Thu Sep 28 19:52:48 2006
@@ -977,6 +977,8 @@
             case CODEC_ID_PCM_S16BE:
                 if (st->codec->bits_per_sample == 8)
                     st->codec->codec_id = CODEC_ID_PCM_S8;
+                else if (st->codec->bits_per_sample == 24)
+                    st->codec->codec_id = CODEC_ID_PCM_S24BE;
                 break;
             default:
                 break;




More information about the ffmpeg-cvslog mailing list