diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpjpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c index 2ea448833f..3904ccb2b4 100644 --- a/libavformat/mpjpeg.c +++ b/libavformat/mpjpeg.c @@ -42,7 +42,8 @@ static int mpjpeg_write_packet(AVFormatContext *s, AVPacket *pkt) { MPJPEGContext *mpj = s->priv_data; avio_printf(s->pb, "Content-type: image/jpeg\r\n"); - avio_printf(s->pb, "Content-length: %d\r\n\r\n", pkt->size); + avio_printf(s->pb, "Content-length: %d\r\n\r\n", + pkt->size); avio_write(s->pb, pkt->data, pkt->size); avio_printf(s->pb, "\r\n--%s\r\n", mpj->boundary_tag); |