summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2012-07-11 13:17:14 +0300
committerTorsten Jager <t.jager@gmx.de>2012-07-11 13:17:14 +0300
commit2054ac1e6fb27e9c62b77dded8178cba7cf38bdd (patch)
treef37beeae9ca554adb3d3d0ee7d62f5442d8f2418 /src
parent1ea875ff07774f90fe83c3dcdaddf0bf42b01968 (diff)
downloadxine-lib-2054ac1e6fb27e9c62b77dded8178cba7cf38bdd.tar.gz
xine-lib-2054ac1e6fb27e9c62b77dded8178cba7cf38bdd.tar.bz2
yuv: fix bug from last commit
Diffstat (limited to 'src')
-rw-r--r--src/video_dec/yuv.c2
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;