Commit 17705a34 authored by Michael Niedermayer's avatar Michael Niedermayer

Missing ffserver.c format parameter fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)

Originally committed as revision 2005 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent aef95c8c
...@@ -2714,7 +2714,7 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer, ...@@ -2714,7 +2714,7 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer,
/* we must also add the mpeg4 header */ /* we must also add the mpeg4 header */
data = st->codec.extradata; data = st->codec.extradata;
if (data) { 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++) { for(j=0;j<st->codec.extradata_size;j++) {
url_fprintf(pb, "%02x", data[j]); url_fprintf(pb, "%02x", data[j]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment