aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-16 15:15:43 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-16 15:15:43 +0000
commit1413b42ad56a24ed12631fb43ccd7d44c05ac6a8 (patch)
tree3169f37f5652744c1e74a7d8dfc77265929159b7 /libmpdemux
parent2491bd01695de42db8d8286a2f19480fa16cc20e (diff)
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_rtp.cpp2
1 files changed, 1 insertions, 1 deletions
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;