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 | pthread_cond_destroy(&rmq->cond_recv); | 69 | pthread_cond_destroy(&rmq->cond_recv); |
| 70 | pthread_mutex_destroy(&rmq->lock); | 70 | pthread_mutex_destroy(&rmq->lock); |
| 71 | av_free(rmq); | 71 | av_free(rmq); |
| 72 | return AVERROR(ret); | 72 | return AVERROR(ENOMEM); |
| 73 | } | 73 | } |
| 74 | rmq->elsize = elsize; | 74 | rmq->elsize = elsize; |
| 75 | *mq = rmq; | 75 | *mq = rmq; |