diff options
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/threadmessage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/threadmessage.c b/libavutil/threadmessage.c index 7c5cd24..872e939 100644 --- a/libavutil/threadmessage.c +++ b/libavutil/threadmessage.c @@ -69,7 +69,7 @@ int av_thread_message_queue_alloc(AVThreadMessageQueue **mq, pthread_cond_destroy(&rmq->cond_recv); pthread_mutex_destroy(&rmq->lock); av_free(rmq); - return AVERROR(ret); + return AVERROR(ENOMEM); } rmq->elsize = elsize; *mq = rmq; |