[FFmpeg-cvslog] libavcodec: Add missing AVClass pointers
Martin Storsjö
git at videolan.org
Wed Feb 3 17:58:06 CET 2016
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jan 22 10:52:06 2016 +0200| [87a814fdce522d45aa31aa258cb5514d7e754bff] | committer: Martin Storsjö
libavcodec: Add missing AVClass pointers
This fixes crashes since 243df1351.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87a814fdce522d45aa31aa258cb5514d7e754bff
---
libavcodec/alacenc.c | 1 +
libavcodec/huffyuv.h | 1 +
libavcodec/utvideo.h | 1 +
3 files changed, 3 insertions(+)
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 4857338..b7ebade 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 aed1537..a4a83b9 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 718273c..0035e9c 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;
More information about the ffmpeg-cvslog
mailing list