diff options
Diffstat (limited to 'libavcodec/sgienc.c')
-rw-r--r-- | libavcodec/sgienc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c index 28cec8625f..b172835263 100644 --- a/libavcodec/sgienc.c +++ b/libavcodec/sgienc.c @@ -170,8 +170,7 @@ FF_ENABLE_DEPRECATION_WARNINGS } buf += length; - bytestream_put_byte(&buf, 0); - bytestream_put_be32(&lengthtab, length + 1); + bytestream_put_be32(&lengthtab, length); in_buf -= p->linesize[0]; } } |