You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/mpegvideo: return more specific error codes for init_duplicate_context()
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
		| @@ -408,7 +408,7 @@ static int init_duplicate_context(MpegEncContext *s) | ||||
|  | ||||
|     return 0; | ||||
| fail: | ||||
|     return -1; // free() through ff_mpv_common_end() | ||||
|     return AVERROR(ENOMEM); // free() through ff_mpv_common_end() | ||||
| } | ||||
|  | ||||
| static void free_duplicate_context(MpegEncContext *s) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user