cljr: init_get_bits size in bits instead of bytes
(cherry picked from commit 0c1f5b93d9)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							457f869b73
						
					
				
				
					commit
					7cb35d4954
				
			@@ -60,7 +60,7 @@ static int decode_frame(AVCodecContext *avctx,
 | 
			
		||||
    p->pict_type= FF_I_TYPE;
 | 
			
		||||
    p->key_frame= 1;
 | 
			
		||||
 | 
			
		||||
    init_get_bits(&a->gb, buf, buf_size);
 | 
			
		||||
    init_get_bits(&a->gb, buf, buf_size * 8);
 | 
			
		||||
 | 
			
		||||
    for(y=0; y<avctx->height; y++){
 | 
			
		||||
        uint8_t *luma= &a->picture.data[0][ y*a->picture.linesize[0] ];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user