Re: [FFmpeg-devel] [PATCH 7/7] lavc: do not hold the codec init lock longer than necessary

2021-03-10 Thread Andreas Rheinhardt
Anton Khirnov: > The only potentially unsafe operation is the codec-specific init > function. > --- > libavcodec/utils.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index e0f6234bd7..952adb5277 100644 > --- a/libavcodec

[FFmpeg-devel] [PATCH 7/7] lavc: do not hold the codec init lock longer than necessary

2021-03-10 Thread Anton Khirnov
The only potentially unsafe operation is the codec-specific init function. --- libavcodec/utils.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e0f6234bd7..952adb5277 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c