Merge commit 'd450cb07d91ef39ad1d39bd7ca0cfce4bd7b13e7'

* commit 'd450cb07d91ef39ad1d39bd7ca0cfce4bd7b13e7':
  avplay: Check memory allocation

Conflicts:
	ffplay.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/125/head
Michael Niedermayer 10 years ago
commit a821617b5a
  1. 3
      ffplay.c

@ -2231,6 +2231,9 @@ static int video_thread(void *arg)
enum AVPixelFormat last_format = -2; enum AVPixelFormat last_format = -2;
int last_serial = -1; int last_serial = -1;
int last_vfilter_idx = 0; int last_vfilter_idx = 0;
if (!graph)
return AVERROR(ENOMEM);
#endif #endif
if (!frame) if (!frame)

Loading…
Cancel
Save