You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	ffmpeg: fix do_streamcopy() so it copies side data too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							
								
								
									
										1
									
								
								ffmpeg.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								ffmpeg.c
									
									
									
									
									
								
							| @@ -1496,6 +1496,7 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p | ||||
|         opkt.data = pkt->data; | ||||
|         opkt.size = pkt->size; | ||||
|     } | ||||
|     av_copy_packet_side_data(&opkt, pkt); | ||||
|  | ||||
|     if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (of->ctx->oformat->flags & AVFMT_RAWPICTURE)) { | ||||
|         /* store AVPicture in AVPacket, as expected by the output format */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user