changeset 7750:3a2b4bf47dbc

use standard gsm fourcc 'agsm' instead of msgsm id 0x31 patch by Ross
author arpi
date Wed, 16 Oct 2002 15:15:43 +0000
parents 48bf03297d48
children 27c9c440536f
files libmpdemux/demux_rtp.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rtp.cpp	Wed Oct 16 14:51:15 2002 +0000
+++ b/libmpdemux/demux_rtp.cpp	Wed Oct 16 15:15:43 2002 +0000
@@ -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;