[FFmpeg-devel] [PATCH 1/3] avcodec/h264_picture: split copying some H264Picture fields into a separate function

James Almer jamrial at gmail.com
Tue Aug 10 15:22:09 EEST 2021


On 8/8/2021 7:56 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavcodec/h264_picture.c | 57 ++++++++++++++++++++++-----------------
>   1 file changed, 33 insertions(+), 24 deletions(-)
> 
> diff --git a/libavcodec/h264_picture.c b/libavcodec/h264_picture.c
> index eec5e9fb9a..89aef37edd 100644
> --- a/libavcodec/h264_picture.c
> +++ b/libavcodec/h264_picture.c
> @@ -63,6 +63,38 @@ void ff_h264_unref_picture(H264Context *h, H264Picture *pic)
>       memset((uint8_t*)pic + off, 0, sizeof(*pic) - off);
>   }

Will apply set.


More information about the ffmpeg-devel mailing list