mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-17 06:11:17 +08:00
ffmpeg: remove unused hw_frames_ctx AVBufferRef from InputStream
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -2913,12 +2913,6 @@ static enum AVPixelFormat get_format(AVCodecContext *s, const enum AVPixelFormat
|
||||
}
|
||||
}
|
||||
|
||||
if (ist->hw_frames_ctx) {
|
||||
s->hw_frames_ctx = av_buffer_ref(ist->hw_frames_ctx);
|
||||
if (!s->hw_frames_ctx)
|
||||
return AV_PIX_FMT_NONE;
|
||||
}
|
||||
|
||||
ist->hwaccel_pix_fmt = *p;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user