mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avcodec/mlpenc: fix writing end of stream marker
This commit is contained in:
parent
873ce68f54
commit
ffc783dea7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue