diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-02-23 13:44:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-23 13:44:51 +0000 |
commit | 40e5d31b576fcd0674acf35ce2120242a72dd801 (patch) | |
tree | 3ed8ebd14acb62a2320239f6f6171feef8d1b00d /libavcodec/h263dec.c | |
parent | c269cf68a0d1579f41e082288072e3f182ef2b5f (diff) | |
download | ffmpeg-40e5d31b576fcd0674acf35ce2120242a72dd801.tar.gz |
More approved hunks for VAAPI & our new and cleaner hwaccel API.
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com
Originally committed as revision 17540 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 4cd2ce85aa..d2c8fd17f7 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -25,6 +25,7 @@ * H.263 decoder. */ +#include "internal.h" #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" @@ -159,6 +160,9 @@ static int decode_slice(MpegEncContext *s){ ff_set_qscale(s, s->qscale); + if (s->avctx->hwaccel) + return 0; + if(s->partitioned_frame){ const int qscale= s->qscale; |