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:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-11-20 04:17:31 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-11-24 17:05:01 +0300
commit99f40fd02f1870c2dee70977b672da9cb198f0be (patch)
tree76868609893462c269326973539655bffc726940 /libavcodec
parent4d05e9392f84702e3c833efa86e84c7f1cf5f612 (diff)
sgienc: Do not end RLE lines with 0s
This is never mentioned in the specifications, and decoders work just as fine without it. Update the fate references since the compressed file is smaller. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec')
-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];
}
}