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

bcoudurier subversion
Thu Apr 24 15:58:22 CEST 2008


Author: bcoudurier
Date: Thu Apr 24 15:58:22 2008
New Revision: 12937

Log:
set alac frame size from extradata

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Thu Apr 24 15:58:22 2008
@@ -936,6 +936,10 @@ static int mov_read_stsd(MOVContext *c, 
     case CODEC_ID_ADPCM_IMA_WAV:
         st->codec->block_align = sc->bytes_per_frame;
         break;
+    case CODEC_ID_ALAC:
+        if (st->codec->extradata_size == 36)
+            st->codec->frame_size = AV_RB32((st->codec->extradata+12));
+        break;
     default:
         break;
     }




More information about the ffmpeg-cvslog mailing list