[FFmpeg-cvslog] sdp: fix opus sprop-stereo fmtp syntax

Mark Harris git at videolan.org
Tue Apr 12 16:59:57 CEST 2016


ffmpeg | branch: master | Mark Harris <mark.hsj at gmail.com> | Mon Feb 29 20:09:53 2016 -0800| [4d13bcceb9a1820f8e9b2c89e00816d3db41b716] | committer: Martin Storsjö

sdp: fix opus sprop-stereo fmtp syntax

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d13bcceb9a1820f8e9b2c89e00816d3db41b716
---

 libavformat/sdp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index d21ffac..b513cca 100644
--- a/libavformat/sdp.c
+++ b/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",
                                      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;



More information about the ffmpeg-cvslog mailing list