]> git.sesse.net Git - ffmpeg/commitdiff
libavcodec: Add missing AVClass pointers
authorMartin Storsjö <martin@martin.st>
Fri, 22 Jan 2016 08:52:06 +0000 (10:52 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 22 Jan 2016 15:08:08 +0000 (17:08 +0200)
This fixes crashes since 243df1351.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/alacenc.c
libavcodec/huffyuv.h
libavcodec/utvideo.h

index 4857338e9c5efcbb5a100a1509ad7c002b45678f..b7ebade9b063893fe2c58691e6525b0f1eff6191 100644 (file)
@@ -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 */
index aed153769ad5c5dd14ea4abbae262795e9257bd4..a4a83b9b0168c90126982c88ade5536861a70bf9 100644 (file)
@@ -59,6 +59,7 @@ typedef enum Predictor {
 } Predictor;
 
 typedef struct HYuvContext {
+    const AVClass *class;
     AVCodecContext *avctx;
     Predictor predictor;
     GetBitContext gb;
index 718273c47f976ca30450eeecbc910d427cfc6202..0035e9c5cef113ca6e13b404e31247a430ebee79 100644 (file)
@@ -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;