Commit b256c8a3 authored by melanson's avatar melanson

off-by-1 error in the never-before-tested embedded string code


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2649 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2914718a
......@@ -579,7 +579,7 @@ static void svq1_parse_string (GetBitContext *bitbuf, uint8_t *out) {
seed = string_table[out[0]];
for (i=1; i < out[0]; i++) {
for (i=1; i <= out[0]; i++) {
out[i] = get_bits (bitbuf, 8) ^ seed;
seed = string_table[out[i] ^ seed];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment