diff --git a/ffserver.c b/ffserver.c index 8b82b9794b..6cebfb4942 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2714,7 +2714,7 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer, /* we must also add the mpeg4 header */ data = st->codec.extradata; if (data) { - url_fprintf(pb, "a=fmtp:%d config="); + url_fprintf(pb, "a=fmtp:%d config=", payload_type); for(j=0;jcodec.extradata_size;j++) { url_fprintf(pb, "%02x", data[j]); }