You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	libavcodec: Add missing AVClass pointers
This fixes crashes since 243df1351.
Signed-off-by: Martin Storsjö <martin@martin.st>
			
			
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user