History

avcodec/vp8: Remove always-false hwaccel checks for VP7

Andreas Rheinhardt committed 1 year ago

Commit 0349ae31 parent a41baa71 file · +1 −1Browse files

Unified · Split

libavcodec/vp8.c+1−1
@@ -2727,7 +2727,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame, · 2726 unmodified lines
27272727 if (!is_vp7 && !s->actually_webp)
27282728 ff_thread_finish_setup(avctx);
27292729
2730− if (avctx->hwaccel) {
2730+ if (!is_vp7 && avctx->hwaccel) {
27312731 const FFHWAccel *hwaccel = ffhwaccel(avctx->hwaccel);
27322732 ret = hwaccel->start_frame(avctx, avpkt->data, avpkt->size);
27332733 if (ret < 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t