[FFmpeg-devel] [PATCH] hevc: fix deadlock for frame threading safe callbacks disabled

Rainer Hochecker fernetmenta at online.de
Sun Mar 8 17:12:50 CET 2015


---
 libavcodec/hevc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index fdbaa28..7c7f920 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -307,7 +307,7 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps)
     *fmt++ = sps->pix_fmt;
     *fmt = AV_PIX_FMT_NONE;
 
-    ret = ff_thread_get_format(s->avctx, pix_fmts);
+    ret = ff_get_format(s->avctx, pix_fmts);
     if (ret < 0)
         goto fail;
     s->avctx->pix_fmt = ret;
-- 
2.1.0



More information about the ffmpeg-devel mailing list