[FFmpeg-devel] [PATCH 11/35] avcodec/proresenc_anatoliy: use FRAME_ID defined in proresdata.h

Stefano Sabatini stefasab at gmail.com
Sun Dec 17 20:19:45 EET 2023


On date Monday 2023-12-11 02:35:12 +0100, Clément Bœsch wrote:
> ---
>  libavcodec/proresenc_anatoliy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
> index d6f5cefc16..804ff6ddf7 100644
> --- a/libavcodec/proresenc_anatoliy.c
> +++ b/libavcodec/proresenc_anatoliy.c
> @@ -755,7 +755,7 @@ static int prores_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
>      compress_frame_size = 8 + header_size;
>  
>      bytestream_put_be32(&buf, compress_frame_size);/* frame size will be update after picture(s) encoding */
> -    bytestream_put_buffer(&buf, "icpf", 4);
> +    bytestream_put_be32(&buf, FRAME_ID);

LGTM.


More information about the ffmpeg-devel mailing list