[FFmpeg-soc] [soc]: r2921 - mxf/mxfenc.c

spyfeng subversion at mplayerhq.hu
Wed Jul 30 16:20:13 CEST 2008


Author: spyfeng
Date: Wed Jul 30 16:20:13 2008
New Revision: 2921

Log:
set audio sample rate correctly , remove default value.


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Wed Jul 30 16:20:13 2008
@@ -857,7 +857,7 @@ static int mxf_write_wav_desc(AVFormatCo
 
     // write audio sampling rate
     mxf_write_local_tag(pb, 8, 0x3D03);
-    put_be32(pb, 48000);
+    put_be32(pb, st->codec->sample_rate);
     put_be32(pb, 1);
 
     mxf_write_local_tag(pb, 4, 0x3D07);



More information about the FFmpeg-soc mailing list