Commit fe25d68d authored by michael's avatar michael

The funny memcpyin svq3 generally has src & dst overlapping, so it

should at least be a memmove().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14254 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 511abaeb
......@@ -704,7 +704,7 @@ static int svq3_decode_slice_header (H264Context *h) {
skip_bits(&s->gb, 8);
if (length > 0) {
memcpy ((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
memmove ((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
&s->gb.buffer[s->gb.size_in_bits >> 3], (length - 1));
}
}
......
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