You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	handle limit>32 for set_ur_golomb_jpegls()
Originally committed as revision 6754 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		| @@ -445,6 +445,10 @@ static inline void set_ur_golomb_jpegls(PutBitContext *pb, int i, int k, int lim | ||||
|         if(k) | ||||
|             put_bits(pb, k, i&((1<<k)-1)); | ||||
|     }else{ | ||||
|         while(limit > 31) { | ||||
|             put_bits(pb, 31, 0); | ||||
|             limit -= 31; | ||||
|         } | ||||
|         put_bits(pb, limit  , 1); | ||||
|         put_bits(pb, esc_len, i - 1); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user