avcodec: Don't lock during open if the codec has threadsafe init
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 1 Oct 2015 14:38:15 +0000 (15:38 +0100)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 2 Oct 2015 13:07:14 +0000 (14:07 +0100)
commitabaa12263e08ae7b2099f00fa4597ae6a86d7a9c
tree292b847c83ddaad0920afbe93cb3e60a62c6276d
parent1d7d8244943cfbfce21049453f56e0d72f2c6d8a
avcodec: Don't lock during open if the codec has threadsafe init

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/internal.h
libavcodec/utils.c