History

avutil/threadmessage: fix error return in case of av_fifo_alloc failure

Aleksandr Slobodeniuk committed 9 years ago

Commit 390e0281 parent df806601 file · +1 −1Browse files

Unified · Split

libavutil/threadmessage.c+1−1
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t