diff options
author | Sebastien Zwickert <dilaroga@free.fr> | 2012-01-08 20:22:12 +0100 |
---|---|---|
committer | Sebastien Zwickert <dilaroga@free.fr> | 2012-01-08 20:22:12 +0100 |
commit | 75be547f77af196b14c0635bfad89445f04bdaed (patch) | |
tree | e89164a129933dac205a845ad9573093d074e407 /libavcodec/vda.h | |
parent | 5ada64a54913cc72da76010cf4a702eccdc1ecd2 (diff) | |
download | ffmpeg-75be547f77af196b14c0635bfad89445f04bdaed.tar.gz |
vda: uses pthreads directly.
Diffstat (limited to 'libavcodec/vda.h')
-rw-r--r-- | libavcodec/vda.h | 3 |
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. |