[FFmpeg-cvslog] r24943 - trunk/libavformat/a64.c

bindhammer subversion
Thu Aug 26 12:03:12 CEST 2010


Author: bindhammer
Date: Thu Aug 26 12:03:11 2010
New Revision: 24943

Log:
Insert info from extradata into header

Modified:
   trunk/libavformat/a64.c

Modified: trunk/libavformat/a64.c
==============================================================================
--- trunk/libavformat/a64.c	Thu Aug 26 12:03:09 2010	(r24942)
+++ trunk/libavformat/a64.c	Thu Aug 26 12:03:11 2010	(r24943)
@@ -45,12 +45,12 @@ static int a64_write_header(struct AVFor
     switch (avctx->codec->id) {
     case CODEC_ID_A64_MULTI:
         header[2] = 0x00;
-        header[3] = 4;
+        header[3] = AV_RB32(avctx->extradata+0);
         header[4] = 2;
         break;
     case CODEC_ID_A64_MULTI5:
         header[2] = 0x01;
-        header[3] = 4;
+        header[3] = AV_RB32(avctx->extradata+0);
         header[4] = 3;
         break;
     default:



More information about the ffmpeg-cvslog mailing list