1
0
Fork 0

avcodec/error_resilience: Constify ThreadFrame*

Forgotten in 0eb399ac39.
While just at it, also use a forward declaration.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-09-21 09:48:14 +02:00
parent 68f9dfa5cc
commit a7663c9604
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,6 @@
#include "avcodec.h"
#include "me_cmp.h"
#include "threadframe.h"
///< current MB is the first after a resync marker
#define VP_START 1
@ -40,7 +39,7 @@
typedef struct ERPicture {
AVFrame *f;
ThreadFrame *tf;
const struct ThreadFrame *tf;
// it is the caller's responsibility to allocate these buffers
int16_t (*motion_val[2])[2];

View File

@ -43,6 +43,7 @@
#include "h264qpel.h"
#include "h274.h"
#include "mpegutils.h"
#include "threadframe.h"
#include "videodsp.h"
#define H264_MAX_PICTURE_COUNT 36