Mercurial > libavcodec.hg
changeset 9027:3c141db76660 libavcodec
Approved hunk from the AVHWaccel patch by Gwenole Beauchesne.
author | michael |
---|---|
date | Tue, 24 Feb 2009 18:24:56 +0000 |
parents | 19bbd1457372 |
children | 0f95e4f0a3f5 |
files | h263dec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h263dec.c Tue Feb 24 18:11:42 2009 +0000 +++ b/h263dec.c Tue Feb 24 18:24:56 2009 +0000 @@ -134,7 +134,7 @@ static int get_consumed_bytes(MpegEncContext *s, int buf_size){ int pos= (get_bits_count(&s->gb)+7)>>3; - if(s->divx_packed){ + if(s->divx_packed || s->avctx->hwaccel){ //we would have to scan through the whole buf to handle the weird reordering ... return buf_size; }else if(s->flags&CODEC_FLAG_TRUNCATED){