lavf: Fix leftovers from the ff_get_buffer patch
The automated script did not perfectly replace all the instances nor added internal.h in all the files requiring it.
This commit is contained in:
parent
c98d164a6a
commit
e24d1cbc4e
3 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "mjpeg.h"
|
||||
#include "mjpegdec.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct MXpegDecodeContext {
|
||||
MJpegDecodeContext jpg;
|
||||
|
|
|
|||
|
|
@ -573,7 +573,7 @@ static int submit_packet(PerThreadContext *p, AVPacket *avpkt)
|
|||
pthread_cond_wait(&p->progress_cond, &p->progress_mutex);
|
||||
|
||||
if (p->state == STATE_GET_BUFFER) {
|
||||
p->result = p-ff_get_buffer(p->avctx, p->requested_frame);
|
||||
p->result = ff_get_buffer(p->avctx, p->requested_frame);
|
||||
p->state = STATE_SETTING_UP;
|
||||
pthread_cond_signal(&p->progress_cond);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
#include "bytestream.h"
|
||||
#include "elbg.h"
|
||||
#include "mathops.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define CHROMA_BIAS 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue