[FFmpeg-devel] [PATCH] avcodec/pthread_frame: don't call ff_decode_internal_sync() during per-frame thread synchonization
James Almer
jamrial at gmail.com
Mon Apr 28 01:44:25 EEST 2025
The values it copies across contexts are set during preinit() and never
changed.
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavcodec/pthread_frame.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index 7019108af6..e283eb2941 100644
--- a/libavcodec/pthread_frame.c
+++ b/libavcodec/pthread_frame.c
@@ -405,7 +405,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
dst->hwaccel_flags = src->hwaccel_flags;
av_refstruct_replace(&dst->internal->pool, src->internal->pool);
- ff_decode_internal_sync(dst, src);
}
if (for_user) {
--
2.49.0
More information about the ffmpeg-devel
mailing list