mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-11-01 04:53:04 +08:00 
			
		
		
		
	qpeg: remove faulty avcodec_get_frame_defaults()
Found-by: {V}
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
			
			
This commit is contained in:
		| @@ -325,8 +325,6 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||||
| static av_cold int decode_init(AVCodecContext *avctx){ | static av_cold int decode_init(AVCodecContext *avctx){ | ||||||
|     QpegContext * const a = avctx->priv_data; |     QpegContext * const a = avctx->priv_data; | ||||||
|  |  | ||||||
|     avcodec_get_frame_defaults(&a->pic); |  | ||||||
|     avcodec_get_frame_defaults(&a->ref); |  | ||||||
|     a->avctx = avctx; |     a->avctx = avctx; | ||||||
|     avctx->pix_fmt= AV_PIX_FMT_PAL8; |     avctx->pix_fmt= AV_PIX_FMT_PAL8; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Niedermayer
					Michael Niedermayer