mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vf_mp: fix null ptr deref in case of ENOMEM
Fixes CID703675 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
042a738b45
commit
aaf78e4d14
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user