[FFmpeg-cvslog] r17563 - trunk/libavcodec/h263dec.c
michael
subversion
Tue Feb 24 19:24:57 CET 2009
Author: michael
Date: Tue Feb 24 19:24:56 2009
New Revision: 17563
Log:
Approved hunk from the AVHWaccel patch by Gwenole Beauchesne.
Modified:
trunk/libavcodec/h263dec.c
Modified: trunk/libavcodec/h263dec.c
==============================================================================
--- trunk/libavcodec/h263dec.c Tue Feb 24 19:11:42 2009 (r17562)
+++ trunk/libavcodec/h263dec.c Tue Feb 24 19:24:56 2009 (r17563)
@@ -134,7 +134,7 @@ av_cold int ff_h263_decode_end(AVCodecCo
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){
More information about the ffmpeg-cvslog
mailing list