[Ffmpeg-cvslog] CVS: ffmpeg/libavformat amr.c,1.5,1.6

Roberto Togni CVS rtognimp
Sun Apr 24 13:15:38 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv22112

Modified Files:
	amr.c 
Log Message:
Put correct fourcc in tag field for amr_nb (samr) and amr_wb (sawb)


Index: amr.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/amr.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- amr.c	19 Jun 2004 03:59:34 -0000	1.5
+++ amr.c	24 Apr 2005 11:15:35 -0000	1.6
@@ -101,7 +101,7 @@
         }
     
         st->codec.codec_type = CODEC_TYPE_AUDIO;
-        st->codec.codec_tag = CODEC_ID_AMR_WB;
+        st->codec.codec_tag = MKTAG('s', 'a', 'w', 'b');
         st->codec.codec_id = CODEC_ID_AMR_WB;
         st->codec.channels = 1;
         st->codec.sample_rate = 16000;
@@ -115,7 +115,7 @@
         }
     
         st->codec.codec_type = CODEC_TYPE_AUDIO;
-        st->codec.codec_tag = CODEC_ID_AMR_NB;
+        st->codec.codec_tag = MKTAG('s', 'a', 'm', 'r');
         st->codec.codec_id = CODEC_ID_AMR_NB;
         st->codec.channels = 1;
         st->codec.sample_rate = 8000;





More information about the ffmpeg-cvslog mailing list