Browse Source

libavcodec: Add missing AVClass pointers

This fixes crashes since 243df1351.

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n3.0
Martin Storsjö 9 years ago
parent
commit
87a814fdce
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      libavcodec/alacenc.c
  2. +1
    -0
      libavcodec/huffyuv.h
  3. +1
    -0
      libavcodec/utvideo.h

+ 1
- 0
libavcodec/alacenc.c View File

@@ -59,6 +59,7 @@ typedef struct AlacLPCContext {
} AlacLPCContext; } AlacLPCContext;


typedef struct AlacEncodeContext { typedef struct AlacEncodeContext {
const AVClass *class;
AVCodecContext *avctx; AVCodecContext *avctx;
int frame_size; /**< current frame size */ int frame_size; /**< current frame size */
int verbatim; /**< current frame verbatim mode flag */ int verbatim; /**< current frame verbatim mode flag */


+ 1
- 0
libavcodec/huffyuv.h View File

@@ -59,6 +59,7 @@ typedef enum Predictor {
} Predictor; } Predictor;


typedef struct HYuvContext { typedef struct HYuvContext {
const AVClass *class;
AVCodecContext *avctx; AVCodecContext *avctx;
Predictor predictor; Predictor predictor;
GetBitContext gb; GetBitContext gb;


+ 1
- 0
libavcodec/utvideo.h View File

@@ -65,6 +65,7 @@ extern const int ff_ut_pred_order[5];
extern const int ff_ut_rgb_order[4]; extern const int ff_ut_rgb_order[4];


typedef struct UtvideoContext { typedef struct UtvideoContext {
const AVClass *class;
AVCodecContext *avctx; AVCodecContext *avctx;
BswapDSPContext bdsp; BswapDSPContext bdsp;
HuffYUVEncDSPContext hdsp; HuffYUVEncDSPContext hdsp;


Loading…
Cancel
Save