[Android] libvlc/jni/thumbnailer: fix warning
Thomas Guillem
git at videolan.org
Mon Aug 29 13:36:49 CEST 2016
vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Aug 25 14:35:56 2016 +0200| [f0c307f44a658f84adffc28b3dd0618fb9b219e1] | committer: Thomas Guillem
libvlc/jni/thumbnailer: fix warning
> https://code.videolan.org/videolan/vlc-android/commit/f0c307f44a658f84adffc28b3dd0618fb9b219e1
---
libvlc/jni/thumbnailer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvlc/jni/thumbnailer.c b/libvlc/jni/thumbnailer.c
index ee4b442..155c3f0 100644
--- a/libvlc/jni/thumbnailer.c
+++ b/libvlc/jni/thumbnailer.c
@@ -204,7 +204,7 @@ static void thumbnailer_display(void *opaque, void *picture)
/* If we have already received a thumbnail, or we are still seeking,
* we skip this frame. */
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);
return;
More information about the Android
mailing list