Skip to content
Snippets Groups Projects
Commit 87a814fd authored by Martin Storsjö's avatar Martin Storsjö
Browse files

libavcodec: Add missing AVClass pointers


This fixes crashes since 243df135.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 0e9c4fe2
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
......@@ -59,6 +59,7 @@ typedef enum Predictor {
} Predictor;
typedef struct HYuvContext {
const AVClass *class;
AVCodecContext *avctx;
Predictor predictor;
GetBitContext gb;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment