diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-27 02:46:33 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-27 02:46:33 +0000 |
commit | 453747f9e5d8b719b46d1f0c82bc06b92fdfa2ca (patch) | |
tree | 83652834780fae3016496b37b8588944e6b01a19 /libmpcodecs/vf.c | |
parent | eea7b9044c8498c28e1f270663d4b0f00226a7e8 (diff) | |
download | mpv-453747f9e5d8b719b46d1f0c82bc06b92fdfa2ca.tar.bz2 mpv-453747f9e5d8b719b46d1f0c82bc06b92fdfa2ca.tar.xz |
Fix memory corruption in vd_libmpeg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18302 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r-- | libmpcodecs/vf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index f34bca1044..a9bff4b771 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -412,6 +412,7 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype, mpi->flags|=MP_IMGFLAG_TYPE_DISPLAYED; } + mpi->qscale = NULL; } // printf("\rVF_MPI: %p %p %p %d %d %d \n", // mpi->planes[0],mpi->planes[1],mpi->planes[2], |