Showing the changes to libavutil/threadmessage.c (1 of 1 file). Show all
Unified · Split
| @@ -69,7 +69,7 @@ int av_thread_message_queue_alloc(AVThreadMessageQueue **mq, · 68 unmodified lines | ||
| 69 | 69 | pthread_cond_destroy(&rmq->cond_recv); |
| 70 | 70 | pthread_mutex_destroy(&rmq->lock); |
| 71 | 71 | av_free(rmq); |
| 72 | − return AVERROR(ret); | |
| 72 | + return AVERROR(ENOMEM); | |
| 73 | 73 | } |
| 74 | 74 | rmq->elsize = elsize; |
| 75 | 75 | *mq = rmq; |