mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-17 11:28:05 +00:00
sdp: fix opus sprop-stereo fmtp syntax
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
4845f0720e
commit
c3bb6166dd
@ -706,7 +706,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c,
|
|||||||
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 (c->channels == 2) {
|
if (c->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…
x
Reference in New Issue
Block a user