Commit f0c307f4 authored by Thomas Guillem's avatar Thomas Guillem

libvlc/jni/thumbnailer: fix warning

parent 803ab392
...@@ -204,7 +204,7 @@ static void thumbnailer_display(void *opaque, void *picture) ...@@ -204,7 +204,7 @@ static void thumbnailer_display(void *opaque, void *picture)
/* If we have already received a thumbnail, or we are still seeking, /* If we have already received a thumbnail, or we are still seeking,
* we skip this frame. */ * we skip this frame. */
pthread_mutex_lock(&sys->doneMutex); pthread_mutex_lock(&sys->doneMutex);
if ((sys->state & THUMB_SEEKED|THUMB_VOUT) != (THUMB_SEEKED|THUMB_VOUT)) if ((sys->state & (THUMB_SEEKED|THUMB_VOUT)) != (THUMB_SEEKED|THUMB_VOUT))
{ {
pthread_mutex_unlock(&sys->doneMutex); pthread_mutex_unlock(&sys->doneMutex);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment