1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avplay: Check frame allocation inside video_thread()

CC: libav-stable@libav.org
Bug-Id: CID 1267893
This commit is contained in:
Vittorio Giovara 2015-02-04 14:20:59 +00:00
parent 81688e68f9
commit 266f241193

View File

@ -1587,6 +1587,9 @@ static int video_thread(void *arg)
filt_out = is->out_video_filter;
#endif
if (!frame)
return AVERROR(ENOMEM);
for (;;) {
#if CONFIG_AVFILTER
AVRational tb;