CC: [email protected]
Bug-Id: CID 1267893
---
avplay.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/avplay.c b/avplay.c
index 8afa489..5e6d409 100644
--- a/avplay.c
+++ b/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;
--
1.9.3 (Apple Git-50)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel