Mercurial > libavcodec.hg
diff h264.c @ 9033:bcf716c58be4 libavcodec
add ff_find_hwaccel() by Gwenole Beauchesne
| author | michael |
|---|---|
| date | Tue, 24 Feb 2009 19:04:43 +0000 |
| parents | 0f95e4f0a3f5 |
| children | d22ed7aad1b0 |
line wrap: on
line diff
--- a/h264.c Tue Feb 24 18:51:16 2009 +0000 +++ b/h264.c Tue Feb 24 19:04:43 2009 +0000 @@ -2182,6 +2182,7 @@ avctx->pix_fmt= PIX_FMT_VDPAU_H264; else avctx->pix_fmt= avctx->get_format(avctx, avctx->codec->pix_fmts); + avctx->hwaccel = ff_find_hwaccel(avctx->codec->id, avctx->pix_fmt); decode_init_vlc();
