ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sun Oct  1 22:59:34 
2023 +0200| [ffc783dea75439a82bc5c019e717c1a447ebc4dc] | committer: Paul B Mahol

avcodec/mlpenc: fix writing end of stream marker

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

 libavcodec/mlpenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c
index 5995a6b51c..fbdfaccd5e 100644
--- a/libavcodec/mlpenc.c
+++ b/libavcodec/mlpenc.c
@@ -1086,7 +1086,7 @@ static uint8_t *write_substr(MLPEncodeContext *ctx, 
uint8_t *buf, int buf_size,
             put_bits(&pb, 16, END_OF_STREAM & 0xFFFF);
             put_bits(&pb, 16, (ctx->shorten_by & 0x1FFF) | 0x2000);
         } else {
-            put_bits(&pb, 32, END_OF_STREAM);
+            put_bits32(&pb, END_OF_STREAM);
         }
     }
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to