History

avcodec/mlpenc: fix writing end of stream marker

Paul B Mahol committed 3 years ago

Commit ffc783d1 parent 873ce681 file · +1 −1Browse files

Unified · Split

libavcodec/mlpenc.c+1−1
@@ -1086,7 +1086,7 @@ static uint8_t *write_substr(MLPEncodeContext *ctx, uint8_t *buf, int buf_size, · 1085 unmodified lines
1086 put_bits(&pb, 16, END_OF_STREAM & 0xFFFF);1086 put_bits(&pb, 16, END_OF_STREAM & 0xFFFF);
1087 put_bits(&pb, 16, (ctx->shorten_by & 0x1FFF) | 0x2000);1087 put_bits(&pb, 16, (ctx->shorten_by & 0x1FFF) | 0x2000);
1088 } else {1088 } else {
1089 put_bits(&pb, 32, END_OF_STREAM);1089 put_bits32(&pb, END_OF_STREAM);
1090 }1090 }
1091 }1091 }
1092 1092

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t