hdsenc: Remove dead store
This is apparently not supposed to error out anyway. Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
		
							parent
							
								
									91b27b8393
								
							
						
					
					
						commit
						e10c31f331
					
				@ -420,7 +420,6 @@ static int hds_write_header(AVFormatContext *s)
 | 
			
		||||
        if (!os->has_video && c->min_frag_duration <= 0) {
 | 
			
		||||
            av_log(s, AV_LOG_WARNING,
 | 
			
		||||
                   "No video stream in output stream %d and no min frag duration set\n", i);
 | 
			
		||||
            ret = AVERROR(EINVAL);
 | 
			
		||||
        }
 | 
			
		||||
        os->fragment_index = 1;
 | 
			
		||||
        write_abst(s, os, 0);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user