You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/vp8: Remove always-false hwaccel checks for VP7
Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -2727,7 +2727,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame,
|
|||||||
if (!is_vp7 && !s->actually_webp)
|
if (!is_vp7 && !s->actually_webp)
|
||||||
ff_thread_finish_setup(avctx);
|
ff_thread_finish_setup(avctx);
|
||||||
|
|
||||||
if (avctx->hwaccel) {
|
if (!is_vp7 && avctx->hwaccel) {
|
||||||
const FFHWAccel *hwaccel = ffhwaccel(avctx->hwaccel);
|
const FFHWAccel *hwaccel = ffhwaccel(avctx->hwaccel);
|
||||||
ret = hwaccel->start_frame(avctx, avpkt->data, avpkt->size);
|
ret = hwaccel->start_frame(avctx, avpkt->data, avpkt->size);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Reference in New Issue
Block a user