[FFmpeg-cvslog] avcodec/proresenc_anatoliy: use FRAME_ID defined in proresdata.h

Clément Bœsch git at videolan.org
Wed Jan 10 15:22:04 EET 2024


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Dec 11 01:27:27 2023 +0100| [3885d2493d283b9e368fa7d4fdd3e626874a7a61] | committer: Clément Bœsch

avcodec/proresenc_anatoliy: use FRAME_ID defined in proresdata.h

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3885d2493d283b9e368fa7d4fdd3e626874a7a61
---

 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 88be49af3e..f40e455e65 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -754,7 +754,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 */



More information about the ffmpeg-cvslog mailing list