Re: [FFmpeg-devel] [PATCH 40/42] avcodec/hevcdec: Switch to ProgressFrames

2023-11-09 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2023-09-19 21:57:32) > Avoids implicit av_frame_ref() and therefore allocations > and error checks. It also avoids explicitly allocating > the AVFrames (done implicitly when getting the buffer). > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/hevc_filter.c |

[FFmpeg-devel] [PATCH 40/42] avcodec/hevcdec: Switch to ProgressFrames

2023-09-19 Thread Andreas Rheinhardt
Avoids implicit av_frame_ref() and therefore allocations and error checks. It also avoids explicitly allocating the AVFrames (done implicitly when getting the buffer). Signed-off-by: Andreas Rheinhardt --- libavcodec/hevc_filter.c | 8 libavcodec/hevc_mvs.c| 6 +++--- libavcodec/h