]> git.sesse.net Git - ffmpeg/commitdiff
sdp: fix opus sprop-stereo fmtp syntax
authorMark Harris <mark.hsj@gmail.com>
Tue, 1 Mar 2016 04:09:53 +0000 (20:09 -0800)
committerMartin Storsjö <martin@martin.st>
Tue, 1 Mar 2016 06:56:36 +0000 (08:56 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/sdp.c

index d21ffacabc13f91d242fe84eb89df5364ec18817..b513ccadc7d1e12ee816309d6d34af28dd3e42bf 100644 (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;