thread_get_frame_count - return 0 instead of NULL

This commit is contained in:
twinaphex 2015-05-09 16:07:05 +02:00
parent f08db710ac
commit 3d6b29e97b

View File

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