Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sgienc.c')
-rw-r--r--libavcodec/sgienc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c
index b88f6c3843..e7aa394069 100644
--- a/libavcodec/sgienc.c
+++ b/libavcodec/sgienc.c
@@ -171,8 +171,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];
}
}