avcodec/vmnc/reset_buffers(): reset cur_hx/hy too for saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3fa4c528a9
commit
0391f4617f
@ -307,6 +307,8 @@ static void reset_buffers(VmncContext *c)
|
|||||||
av_freep(&c->curmask);
|
av_freep(&c->curmask);
|
||||||
av_freep(&c->screendta);
|
av_freep(&c->screendta);
|
||||||
c->cur_w = c->cur_h = 0;
|
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,
|
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user