1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

sdp: fix opus sprop-stereo fmtp syntax

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Mark Harris
2016-02-29 20:09:53 -08:00
committed by Martin Storsjö
parent f6ccee9bed
commit 4d13bcceb9

View File

@@ -692,7 +692,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecParameters
av_strlcatf(buff, size, "a=rtpmap:%d opus/48000/2\r\n",
payload_type);
if (p->channels == 2) {
av_strlcatf(buff, size, "a=fmtp:%d sprop-stereo:1\r\n",
av_strlcatf(buff, size, "a=fmtp:%d sprop-stereo=1\r\n",
payload_type);
}
break;