ffmpeg | branch: master | Clément Bœsch <[email protected]> | Wed Apr 26 17:35:28 
2017 +0200| [78a5fc4579deb63e1e6b93cd4d6e2ec2dceff931] | committer: Clément 
Bœsch

lavc/hevcdec: fix invalid use of ff_get_format()

Regression since 76cc100afba25308eaa909acd8804cc0b42057f6.

Spotted-by: James Almer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=78a5fc4579deb63e1e6b93cd4d6e2ec2dceff931
---

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

diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index b698c0bbc7..2fb08d81d2 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -367,7 +367,7 @@ static enum AVPixelFormat get_format(HEVCContext *s, const 
HEVCSPS *sps)
     *fmt++ = sps->pix_fmt;
     *fmt = AV_PIX_FMT_NONE;
 
-    return ff_get_format(s->avctx, pix_fmts);
+    return ff_thread_get_format(s->avctx, pix_fmts);
 }
 
 static int set_sps(HEVCContext *s, const HEVCSPS *sps,

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to