Browse Source

Approved hunk from the AVHWaccel patch by Gwenole Beauchesne.

Originally committed as revision 17563 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Gwenole Beauchesne Michael Niedermayer 16 years ago
parent
commit
c0aec489a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h263dec.c

+ 1
- 1
libavcodec/h263dec.c View File

@@ -134,7 +134,7 @@ av_cold int ff_h263_decode_end(AVCodecContext *avctx)
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){


Loading…
Cancel
Save