aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vda.h
diff options
context:
space:
mode:
authorSebastien Zwickert <dilaroga@free.fr>2012-01-08 20:22:12 +0100
committerSebastien Zwickert <dilaroga@free.fr>2012-01-08 20:22:12 +0100
commit75be547f77af196b14c0635bfad89445f04bdaed (patch)
treee89164a129933dac205a845ad9573093d074e407 /libavcodec/vda.h
parent5ada64a54913cc72da76010cf4a702eccdc1ecd2 (diff)
downloadandroid_external_ffmpeg-75be547f77af196b14c0635bfad89445f04bdaed.tar.gz
android_external_ffmpeg-75be547f77af196b14c0635bfad89445f04bdaed.tar.bz2
android_external_ffmpeg-75be547f77af196b14c0635bfad89445f04bdaed.zip
vda: uses pthreads directly.
Diffstat (limited to 'libavcodec/vda.h')
-rw-r--r--libavcodec/vda.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vda.h b/libavcodec/vda.h
index 5ff8070fd3..7d043c7e30 100644
--- a/libavcodec/vda.h
+++ b/libavcodec/vda.h
@@ -23,6 +23,7 @@
#ifndef AVCODEC_VDA_H
#define AVCODEC_VDA_H
+#include <pthread.h>
#include <stdint.h>
// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
@@ -92,7 +93,7 @@ struct vda_context {
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
- void *queue_mutex;
+ pthread_mutex_t queue_mutex;
/**
* The frame width.