[FFmpeg-devel] [PATCH 2/6] libavformat/sdp: remove whitespaces in fmtp

Michael Riedl michael.riedl at nativewaves.com
Mon Nov 6 17:19:17 EET 2023


Whitespaces after semicolon breaks some servers

Signed-off-by: Michael Riedl <michael.riedl at nativewaves.com>
---
 libavformat/sdp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 68889362906..5ab017b1ba5 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -159,8 +159,8 @@ static int extradata2psets(AVFormatContext *s, const AVCodecParameters *par,
 {
     char *psets, *p;
     const uint8_t *r;
-    static const char pset_string[] = "; sprop-parameter-sets=";
-    static const char profile_string[] = "; profile-level-id=";
+    static const char pset_string[] = ";sprop-parameter-sets=";
+    static const char profile_string[] = ";profile-level-id=";
     uint8_t *extradata = par->extradata;
     int extradata_size = par->extradata_size;
     uint8_t *tmpbuf = NULL;
-- 
2.39.2



More information about the ffmpeg-devel mailing list