diff options
-rw-r--r-- | src/video_dec/yuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_dec/yuv.c b/src/video_dec/yuv.c index 477365641..a49ddf2e4 100644 --- a/src/video_dec/yuv.c +++ b/src/video_dec/yuv.c @@ -111,7 +111,7 @@ static void yuv_decode_data (video_decoder_t *this_gen, free (this->buf); this->buf = NULL; - this->bufsize = this->width = this->height; + this->bufsize = 0; this->size = 0; this->decoder_ok = 1; |