[FFmpeg-cvslog] avcodec/mlpenc: fix writing end of stream marker
Paul B Mahol
git at videolan.org
Mon Oct 2 00:25:39 EEST 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | 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);
}
}
More information about the ffmpeg-cvslog
mailing list