Commit a7663c96 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/error_resilience: Constify ThreadFrame*

Forgotten in 0eb399ac.
While just at it, also use a forward declaration.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 68f9dfa5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment