1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 10:26:09 +00:00

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
This commit is contained in:
arpi 2002-10-16 15:15:43 +00:00
parent 2491bd0169
commit 1413b42ad5

View File

@ -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;