From 38ebb5e9537989d76ba23d403afa5aed37667dc4 Mon Sep 17 00:00:00 2001 From: Mr-Dave Date: Sat, 17 Aug 2024 19:01:52 -0600 Subject: [PATCH] Revise ffmpeg err_recognition on codec --- src/netcam_rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netcam_rtsp.c b/src/netcam_rtsp.c index 9ff5e637..80b643de 100644 --- a/src/netcam_rtsp.c +++ b/src/netcam_rtsp.c @@ -951,7 +951,7 @@ static int netcam_init_swdecoder(struct rtsp_context *rtsp_data) } rtsp_data->codec_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK; - rtsp_data->codec_context->err_recognition = AV_EF_EXPLODE; + rtsp_data->codec_context->err_recognition = AV_EF_IGNORE_ERR; return 0; #else