mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
68f9dfa5cc
commit
a7663c9604
@ -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];
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user