From 1413b42ad56a24ed12631fb43ccd7d44c05ac6a8 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 16 Oct 2002 15:15:43 +0000 Subject: [PATCH] use standard gsm fourcc 'agsm' instead of msgsm id 0x31 patch by Ross git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7751 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_rtp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_rtp.cpp b/libmpdemux/demux_rtp.cpp index 86c9ea641f..ca3429ea58 100644 --- a/libmpdemux/demux_rtp.cpp +++ b/libmpdemux/demux_rtp.cpp @@ -241,7 +241,7 @@ extern "C" void demux_open_rtp(demuxer_t* demuxer) { 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;