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); }