print error when decoding fails
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									a9621908dc
								
							
						
					
					
						commit
						d0f4e4fb17
					
				@ -217,6 +217,7 @@ static int a52_decode_frame(AVCodecContext *avctx,
 | 
			
		||||
            level = 1;
 | 
			
		||||
            if (s->a52_frame(s->state, s->inbuf, &flags, &level, 384)) {
 | 
			
		||||
            fail:
 | 
			
		||||
                av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n");
 | 
			
		||||
                s->inbuf_ptr = s->inbuf;
 | 
			
		||||
                s->frame_size = 0;
 | 
			
		||||
                continue;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user