summaryrefslogtreecommitdiffstats
path: root/media/ffvpx/libavutil/threadmessage.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/ffvpx/libavutil/threadmessage.c')
-rw-r--r--media/ffvpx/libavutil/threadmessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/ffvpx/libavutil/threadmessage.c b/media/ffvpx/libavutil/threadmessage.c
index 7c5cd2463..872e9392b 100644
--- a/media/ffvpx/libavutil/threadmessage.c
+++ b/media/ffvpx/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;