Skip to content

Commit 0349ae3

Browse files
committed
avcodec/vp8: Remove always-false hwaccel checks for VP7
Reviewed-by: Peter Ross <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
1 parent a41baa7 commit 0349ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavcodec/vp8.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,7 +2727,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame,
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)

0 commit comments

Comments
 (0)