[FFmpeg-cvslog] avcodec/vp8: Remove always-false hwaccel checks for VP7
Andreas Rheinhardt
git at videolan.org
Mon Mar 10 02:59:18 EET 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Mar 6 18:20:32 2025 +0100| [0349ae3ec4c2d381b0ce163b4195ecbba422a484] | committer: Andreas Rheinhardt
avcodec/vp8: Remove always-false hwaccel checks for VP7
Reviewed-by: Peter Ross <pross at xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0349ae3ec4c2d381b0ce163b4195ecbba422a484
---
libavcodec/vp8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index 77f7b4d4df..348744efd6 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -2727,7 +2727,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame,
if (!is_vp7 && !s->actually_webp)
ff_thread_finish_setup(avctx);
- if (avctx->hwaccel) {
+ if (!is_vp7 && avctx->hwaccel) {
const FFHWAccel *hwaccel = ffhwaccel(avctx->hwaccel);
ret = hwaccel->start_frame(avctx, avpkt->data, avpkt->size);
if (ret < 0)
More information about the ffmpeg-cvslog
mailing list