diff --git a/ffserver.c b/ffserver.c index 8b82b9794b6f223b2206e6947767c3827486a5e1..6cebfb49423648f638104a0a2c193399d1a9a710 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;j<st->codec.extradata_size;j++) { url_fprintf(pb, "%02x", data[j]); }