Commit 266f2411 authored by Vittorio Giovara's avatar Vittorio Giovara

avplay: Check frame allocation inside video_thread()

CC: libav-stable@libav.org
Bug-Id: CID 1267893
parent 81688e68
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment