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

bcoudurier subversion
Tue Dec 7 02:38:26 CET 2010


Author: bcoudurier
Date: Tue Dec  7 02:38:26 2010
New Revision: 25901

Log:
In mov demuxer, read alac sample from extradata, fix #2406

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	Mon Dec  6 23:24:21 2010	(r25900)
+++ trunk/libavformat/mov.c	Tue Dec  7 02:38:26 2010	(r25901)
@@ -1230,6 +1230,7 @@ int ff_mov_read_stsd_entries(MOVContext 
         if (st->codec->extradata_size == 36) {
             st->codec->frame_size = AV_RB32(st->codec->extradata+12);
             st->codec->channels   = AV_RB8 (st->codec->extradata+21);
+            st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
         }
         break;
     default:



More information about the ffmpeg-cvslog mailing list