Make an invalid use of a default callback implementation return an error.
Commited in SoC by Bobby Bingham on 2007-08-18 01:45:42 Originally committed as revision 12071 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									4f90956596
								
							
						
					
					
						commit
						d0e4eba57c
					
				@ -98,8 +98,7 @@ int avfilter_default_config_output_link(AVFilterLink *link)
 | 
			
		||||
    } else {
 | 
			
		||||
        /* XXX: any non-simple filter which would cause this branch to be taken
 | 
			
		||||
         * really should implement its own config_props() for this link. */
 | 
			
		||||
        link->w =
 | 
			
		||||
        link->h = 0;
 | 
			
		||||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return 0;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user