Merge remote-tracking branch 'qatar/master'
* qatar/master: pthread: make sure AVFrame.extended_data is set properly. libfdk-aac: reindent after last commit libfdk-aac: Limit to supported sample rates. cbrt_tablegen: Include libm.h oggparsetheora: make it more robust ogg: prevent NULL pointer deference in theora gptopts Conflicts: libavformat/oggparsetheora.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
abcaacf1ac
4 changed files with 39 additions and 20 deletions
|
@ -387,6 +387,10 @@ static attribute_align_arg void *frame_worker_thread(void *arg)
|
|||
p->got_frame = 0;
|
||||
p->result = codec->decode(avctx, &p->frame, &p->got_frame, &p->avpkt);
|
||||
|
||||
/* many decoders assign whole AVFrames, thus overwriting extended_data;
|
||||
* make sure it's set correctly */
|
||||
p->frame.extended_data = p->frame.data;
|
||||
|
||||
if (p->state == STATE_SETTING_UP) ff_thread_finish_setup(avctx);
|
||||
|
||||
pthread_mutex_lock(&p->progress_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue