You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/put_bits: Assert that there is enough space left in skip_put_bytes()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -229,6 +229,7 @@ static inline void skip_put_bytes(PutBitContext *s, int n) | ||||
| { | ||||
|     av_assert2((put_bits_count(s) & 7) == 0); | ||||
|     av_assert2(s->bit_left == 32); | ||||
|     av_assert0(n <= s->buf_end - s->buf_ptr); | ||||
|     s->buf_ptr += n; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user