mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 20:42:49 +08:00 
			
		
		
		
	avcodec/bitstream: print vlc length in error case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -306,7 +306,7 @@ int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes, | |||||||
|         if (!(condition))\ |         if (!(condition))\ | ||||||
|             continue;\ |             continue;\ | ||||||
|         if (buf[j].bits > 3*nb_bits || buf[j].bits>32) {\ |         if (buf[j].bits > 3*nb_bits || buf[j].bits>32) {\ | ||||||
|             av_log(NULL, AV_LOG_ERROR, "Too long VLC in init_vlc\n");\ |             av_log(NULL, AV_LOG_ERROR, "Too long VLC (%d) in init_vlc\n", buf[j].bits);\ | ||||||
|             av_free(buf);\ |             av_free(buf);\ | ||||||
|             return -1;\ |             return -1;\ | ||||||
|         }\ |         }\ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Niedermayer
					Michael Niedermayer