avplay: Check frame allocation inside video_thread()

CC: libav-stable@libav.org
Bug-Id: CID 1267893
pull/113/head^2
Vittorio Giovara 10 years ago
parent 81688e68f9
commit 266f241193
  1. 3
      avplay.c

@ -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;

Loading…
Cancel
Save