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

Clément Bœsch u at pkh.me
Mon Dec 11 03:35:12 EET 2023


---
 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);
 
     bytestream_put_be16(&buf, header_size);
     bytestream_put_be16(&buf, 0); /* version */
-- 
2.43.0



More information about the ffmpeg-devel mailing list