You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	movenc: fix edit list for the case of negative pts.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -1672,6 +1672,10 @@ static int mov_write_edts_tag(AVIOContext *pb, MOVTrack *track) | ||||
|             avio_wb32(pb, -1); | ||||
|         } | ||||
|         avio_wb32(pb, 0x00010000); | ||||
|     } else { | ||||
|         av_assert0(track->cluster[0].dts <= 0); | ||||
|         start_ct  = -track->cluster[0].dts; | ||||
|         duration += delay; | ||||
|     } | ||||
|  | ||||
|     /* duration */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user