Mercurial > libavcodec.hg
diff h263dec.c @ 9033:bcf716c58be4 libavcodec
add ff_find_hwaccel() by Gwenole Beauchesne
author | michael |
---|---|
date | Tue, 24 Feb 2009 19:04:43 +0000 |
parents | e10f554d8fb7 |
children | ca19176df986 |
line wrap: on
line diff
--- a/h263dec.c Tue Feb 24 18:51:16 2009 +0000 +++ b/h263dec.c Tue Feb 24 19:04:43 2009 +0000 @@ -106,6 +106,7 @@ return -1; } s->codec_id= avctx->codec->id; + avctx->hwaccel= ff_find_hwaccel(avctx->codec->id, avctx->pix_fmt); /* for h263, we allocate the images after having read the header */ if (avctx->codec->id != CODEC_ID_H263 && avctx->codec->id != CODEC_ID_MPEG4)