diff options
-rw-r--r-- | avplay.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |