diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-19 21:55:01 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-19 21:59:38 +0400 |
commit | aaf78e4d14b4875e4cff30e979421a1087337b9f (patch) | |
tree | 9c2172049c900476ba564394d4e47cfe1497216e /libavfilter/vf_mp.c | |
parent | 042a738b4599e7d454b4d9298e065ce91ec18da3 (diff) |
vf_mp: fix null ptr deref in case of ENOMEM
Fixes CID703675
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_mp.c')
-rw-r--r-- | libavfilter/vf_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c index e31fccdef9..9e3270e68c 100644 --- a/libavfilter/vf_mp.c +++ b/libavfilter/vf_mp.c @@ -575,8 +575,8 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype, } mpi->qscale = NULL; - } mpi->usage_count++; + } // printf("\rVF_MPI: %p %p %p %d %d %d \n", // mpi->planes[0],mpi->planes[1],mpi->planes[2], // mpi->stride[0],mpi->stride[1],mpi->stride[2]); |