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
6969 pthread_cond_destroy(&rmq->cond_recv);
7070 pthread_mutex_destroy(&rmq->lock);
7171 av_free(rmq);
72− return AVERROR(ret);
72+ return AVERROR(ENOMEM);
7373 }
7474 rmq->elsize = elsize;
7575 *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