ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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 <pr...@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to