fftools/ffmpeg_enc: Don't call frame_data twice
Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
		
							parent
							
								
									6ecc2f0f6f
								
							
						
					
					
						commit
						c77164390b
					
				| @ -646,7 +646,6 @@ static int encode_frame(OutputFile *of, OutputStream *ost, AVFrame *frame, | |||||||
|     if (frame) { |     if (frame) { | ||||||
|         FrameData *fd = frame_data(frame); |         FrameData *fd = frame_data(frame); | ||||||
| 
 | 
 | ||||||
|         fd = frame_data(frame); |  | ||||||
|         if (!fd) |         if (!fd) | ||||||
|             return AVERROR(ENOMEM); |             return AVERROR(ENOMEM); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user