Fix building with latest versions of ffmpeg.
Some years-old deprecated stuff has now been removed. Correct solution is probably to use valid defines etc. in own code, but this is more FFMEPG maintainer task (since it also may change how old FFMPEG we do support...).
This commit is contained in:
		@@ -619,7 +619,8 @@ static AVStream *alloc_video_stream(FFMpegContext *context, RenderData *rd, int
 | 
			
		||||
	c->rc_buffer_aggressivity = 1.0;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	c->me_method = ME_EPZS;
 | 
			
		||||
	/* Deprecated and not doing anything since July 2015, deleted in recent ffmpeg */
 | 
			
		||||
	//c->me_method = ME_EPZS;
 | 
			
		||||
	
 | 
			
		||||
	codec = avcodec_find_encoder(c->codec_id);
 | 
			
		||||
	if (!codec)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user