You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit '161a301d44274645c2272855dac3e4664f935603'
* commit '161a301d44274645c2272855dac3e4664f935603':
  mpjpeg: Write the Content-length
Conflicts:
	libavformat/mpjpeg.c
See: 0d2f4eedc8
Merged-by: Michael Niedermayer <michaelni@gmx.at>
			
			
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user