sdp: fix opus sprop-stereo fmtp syntax

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/202/head
Mark Harris 9 years ago committed by Martin Storsjö
parent f6ccee9bed
commit 4d13bcceb9
  1. 2
      libavformat/sdp.c

@ -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", av_strlcatf(buff, size, "a=rtpmap:%d opus/48000/2\r\n",
payload_type); payload_type);
if (p->channels == 2) { 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); payload_type);
} }
break; break;

Loading…
Cancel
Save