diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-10 17:37:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-10 17:37:51 +0100 |
commit | 78e150c5e9bb5a628d00562ade1fd4bf3635fc4d (patch) | |
tree | 7d0ec6dc63bd5a309821e9198d254a14f93fd87b /libavcodec/vc1dec.c | |
parent | 2fbc759d08cae97f9361e464a685a149c9d12c72 (diff) | |
parent | 08303d774132775d49d4ba767092de5d426f089d (diff) | |
download | ffmpeg-78e150c5e9bb5a628d00562ade1fd4bf3635fc4d.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
hwaccel: Simplify ff_find_hwaccel
Conflicts:
libavcodec/mpeg12dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 682a9d2000..1d54904a19 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5597,7 +5597,7 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx) avctx->pix_fmt = avctx->get_format(avctx, avctx->codec->pix_fmts); else avctx->pix_fmt = AV_PIX_FMT_GRAY8; - avctx->hwaccel = ff_find_hwaccel(avctx->codec->id, avctx->pix_fmt); + avctx->hwaccel = ff_find_hwaccel(avctx); v->s.avctx = avctx; avctx->flags |= CODEC_FLAG_EMU_EDGE; v->s.flags |= CODEC_FLAG_EMU_EDGE; |