Commit 0391f461 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/vmnc/reset_buffers(): reset cur_hx/hy too for saftey

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3fa4c528
......@@ -307,6 +307,8 @@ static void reset_buffers(VmncContext *c)
av_freep(&c->curmask);
av_freep(&c->screendta);
c->cur_w = c->cur_h = 0;
c->cur_hx = c->cur_hy = 0;
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
......
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