From 3d6b29e97b8e8fca2f40234caef2e46b8a4893d5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 9 May 2015 16:07:05 +0200 Subject: [PATCH] thread_get_frame_count - return 0 instead of NULL --- gfx/video_thread_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index 9b5f032a5c..2cfcdb8763 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -957,7 +957,7 @@ static uint64_t thread_get_frame_count(void *data) { thread_video_t *thr = (thread_video_t*)data; if (!thr || !thr->poke) - return NULL; + return 0; return thr->poke->get_frame_count(thr->driver_data); }