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:
@@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "me_cmp.h"
|
#include "me_cmp.h"
|
||||||
#include "threadframe.h"
|
|
||||||
|
|
||||||
///< current MB is the first after a resync marker
|
///< current MB is the first after a resync marker
|
||||||
#define VP_START 1
|
#define VP_START 1
|
||||||
@@ -40,7 +39,7 @@
|
|||||||
|
|
||||||
typedef struct ERPicture {
|
typedef struct ERPicture {
|
||||||
AVFrame *f;
|
AVFrame *f;
|
||||||
ThreadFrame *tf;
|
const struct ThreadFrame *tf;
|
||||||
|
|
||||||
// it is the caller's responsibility to allocate these buffers
|
// it is the caller's responsibility to allocate these buffers
|
||||||
int16_t (*motion_val[2])[2];
|
int16_t (*motion_val[2])[2];
|
||||||
|
@@ -43,6 +43,7 @@
|
|||||||
#include "h264qpel.h"
|
#include "h264qpel.h"
|
||||||
#include "h274.h"
|
#include "h274.h"
|
||||||
#include "mpegutils.h"
|
#include "mpegutils.h"
|
||||||
|
#include "threadframe.h"
|
||||||
#include "videodsp.h"
|
#include "videodsp.h"
|
||||||
|
|
||||||
#define H264_MAX_PICTURE_COUNT 36
|
#define H264_MAX_PICTURE_COUNT 36
|
||||||
|
Reference in New Issue
Block a user