Merge commit '27b99d929fe3440b4bba8e5d970c2802f274f328'
* commit '27b99d929fe3440b4bba8e5d970c2802f274f328': siff: Return more meaningful error values Conflicts: libavformat/siff.c See: 29c3ebf56e2b54c68c52668937f74a874ecb49ac Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
						commit
						deeba777ad
					
				@ -137,8 +137,8 @@ static int siff_parse_vbv1(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
 | 
			
		||||
    c->has_video = 1;
 | 
			
		||||
    c->has_audio = !!c->rate;
 | 
			
		||||
    c->curstrm   = -1;
 | 
			
		||||
    if (c->has_audio && create_audio_stream(s, c) < 0)
 | 
			
		||||
        return AVERROR(ENOMEM);
 | 
			
		||||
    if (c->has_audio)
 | 
			
		||||
        return create_audio_stream(s, c);
 | 
			
		||||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user