summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-01-22 10:52:06 +0200
committerMartin Storsjö <martin@martin.st>2016-01-22 17:08:08 +0200
commit87a814fdce522d45aa31aa258cb5514d7e754bff (patch)
tree31d2d4ca63b220ae15f9bdfafbcff6cb929ba589 /libavcodec
parent0e9c4fe254073b209970df3e3cb84531bc388e99 (diff)
libavcodec: Add missing AVClass pointers
This fixes crashes since 243df1351. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/alacenc.c1
-rw-r--r--libavcodec/huffyuv.h1
-rw-r--r--libavcodec/utvideo.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 4857338e9c..b7ebade9b0 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -59,6 +59,7 @@ typedef struct AlacLPCContext {
} AlacLPCContext;
typedef struct AlacEncodeContext {
+ const AVClass *class;
AVCodecContext *avctx;
int frame_size; /**< current frame size */
int verbatim; /**< current frame verbatim mode flag */
diff --git a/libavcodec/huffyuv.h b/libavcodec/huffyuv.h
index aed153769a..a4a83b9b01 100644
--- a/libavcodec/huffyuv.h
+++ b/libavcodec/huffyuv.h
@@ -59,6 +59,7 @@ typedef enum Predictor {
} Predictor;
typedef struct HYuvContext {
+ const AVClass *class;
AVCodecContext *avctx;
Predictor predictor;
GetBitContext gb;
diff --git a/libavcodec/utvideo.h b/libavcodec/utvideo.h
index 718273c47f..0035e9c5ce 100644
--- a/libavcodec/utvideo.h
+++ b/libavcodec/utvideo.h
@@ -65,6 +65,7 @@ extern const int ff_ut_pred_order[5];
extern const int ff_ut_rgb_order[4];
typedef struct UtvideoContext {
+ const AVClass *class;
AVCodecContext *avctx;
BswapDSPContext bdsp;
HuffYUVEncDSPContext hdsp;