Re: [FFmpeg-devel] [PATCH] lavc/pthread_frame: always transfer stashed hwaccel state

2022-09-22 Thread Wang Bin
Anton Khirnov 于2022年9月19日周一 21:22写道: > Fixes assertion failures after avcodec_flush_buffers(), where > stashed hwaccel state is present, but prev_thread is NULL. > > Found-by: Wang Bin > --- > libavcodec/pthread_frame.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > >

[FFmpeg-devel] [PATCH] lavc/pthread_frame: always transfer stashed hwaccel state

2022-09-19 Thread Anton Khirnov
Fixes assertion failures after avcodec_flush_buffers(), where stashed hwaccel state is present, but prev_thread is NULL. Found-by: Wang Bin --- libavcodec/pthread_frame.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/pthread_frame.c