You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/speedhqdec: Remove write-only AVCodecContext*
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
		| @@ -51,7 +51,6 @@ | ||||
| #define ALPHA_VLC_BITS 5 | ||||
|  | ||||
| typedef struct SHQContext { | ||||
|     AVCodecContext *avctx; | ||||
|     BlockDSPContext bdsp; | ||||
|     IDCTDSPContext idsp; | ||||
|     ScanTable intra_scantable; | ||||
| @@ -576,8 +575,6 @@ static av_cold int speedhq_decode_init(AVCodecContext *avctx) | ||||
|     static AVOnce init_once = AV_ONCE_INIT; | ||||
|     SHQContext * const s = avctx->priv_data; | ||||
|  | ||||
|     s->avctx = avctx; | ||||
|  | ||||
|     ret = ff_thread_once(&init_once, speedhq_static_init); | ||||
|     if (ret) | ||||
|         return AVERROR_UNKNOWN; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user