On Sat, Apr 21, 2018 at 09:51:37PM +0200, Clément Bœsch wrote: > --- > Been away from FFmpeg for way too long. Hope this patch get me back on > track. Feel free to nitpick on the name. > --- > doc/APIchanges | 3 +++ > libavutil/threadmessage.c | 9 +++++++++ > libavutil/threadmessage.h | 5 +++++ > libavutil/version.h | 2 +- > tests/api/api-threadmessage-test.c | 4 +++- > 5 files changed, 21 insertions(+), 2 deletions(-)
breaks build with:
make distclean ; ./configure --disable-pthreads && make -j12
libavutil/threadmessage.c: In function ‘av_thread_message_queue_nelem’:
libavutil/threadmessage.c:108:5: error: implicit declaration of function
‘pthread_mutex_lock’ [-Werror=implicit-function-declaration]
pthread_mutex_lock(&mq->lock);
^
libavutil/threadmessage.c:108:27: error: ‘AVThreadMessageQueue’ has no member
named ‘lock’
pthread_mutex_lock(&mq->lock);
^
libavutil/threadmessage.c:109:26: error: ‘AVThreadMessageQueue’ has no member
named ‘fifo’
ret = av_fifo_size(mq->fifo);
^
libavutil/threadmessage.c:110:5: error: implicit declaration of function
‘pthread_mutex_unlock’ [-Werror=implicit-function-declaration]
pthread_mutex_unlock(&mq->lock);
^
libavutil/threadmessage.c:110:29: error: ‘AVThreadMessageQueue’ has no member
named ‘lock’
pthread_mutex_unlock(&mq->lock);
^
libavutil/threadmessage.c:111:20: error: ‘AVThreadMessageQueue’ has no member
named ‘elsize’
return ret / mq->elsize;
^
libavutil/threadmessage.c:112:1: error: control reaches end of non-void
function [-Werror=return-type]
}
^
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
