[Mplayer-cvslog] CVS: main/libmpdemux demux_rtp.cpp,1.6,1.7

Arpi of Ize arpi at mplayerhq.hu
Wed Oct 16 17:15:47 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv6003

Modified Files:
	demux_rtp.cpp 
Log Message:
use standard gsm fourcc 'agsm' instead of msgsm id 0x31
patch by Ross


Index: demux_rtp.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rtp.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- demux_rtp.cpp	13 Oct 2002 21:57:54 -0000	1.6
+++ demux_rtp.cpp	16 Oct 2002 15:15:43 -0000	1.7
@@ -241,7 +241,7 @@
 	    wf->wBitsPerSample = 8;
 	    wf->cbSize = 0;
 	  } else if (strcmp(subsession->codecName(), "GSM") == 0) {
-	    wf->wFormatTag = sh_audio->format = 0x31;
+	    wf->wFormatTag = sh_audio->format = mmioFOURCC('a','g','s','m');
 	    wf->nChannels = 1;
 	    wf->nAvgBytesPerSec = 1650;
 	    wf->nBlockAlign = 33;




More information about the MPlayer-cvslog mailing list