diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-11-09 17:07:34 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-11-10 13:59:48 +0100 |
commit | 08303d774132775d49d4ba767092de5d426f089d (patch) | |
tree | 09339c4a5d2ddd495a75a7d6eea1b101066b2069 /libavcodec/h263dec.c | |
parent | d42db44cfe58493eb26d2d2f307ced4dd4ca1978 (diff) | |
download | ffmpeg-08303d774132775d49d4ba767092de5d426f089d.tar.gz |
hwaccel: Simplify ff_find_hwaccel
It is always called by passing fields from an AVCodecContext.
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 4c4a4c4310..fceb217254 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -108,7 +108,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx) return AVERROR(ENOSYS); } s->codec_id = avctx->codec->id; - avctx->hwaccel = ff_find_hwaccel(avctx->codec->id, avctx->pix_fmt); + avctx->hwaccel = ff_find_hwaccel(avctx); /* for h263, we allocate the images after having read the header */ if (avctx->codec->id != AV_CODEC_ID_H263 && |