Mercurial > libavcodec.hg
diff h263dec.c @ 9012:15a3df8c01fd libavcodec
More approved hunks for VAAPI & our new and cleaner hwaccel API.
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com
author | michael |
---|---|
date | Mon, 23 Feb 2009 13:44:51 +0000 |
parents | 8ec0175bbcb5 |
children | 3c141db76660 |
line wrap: on
line diff
--- a/h263dec.c Mon Feb 23 13:35:52 2009 +0000 +++ b/h263dec.c Mon Feb 23 13:44:51 2009 +0000 @@ -25,6 +25,7 @@ * H.263 decoder. */ +#include "internal.h" #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" @@ -159,6 +160,9 @@ ff_set_qscale(s, s->qscale); + if (s->avctx->hwaccel) + return 0; + if(s->partitioned_frame){ const int qscale= s->qscale;