comparison h263dec.c @ 251:75091bfc577b libavcodec

fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
author michaelni
date Fri, 22 Feb 2002 19:19:01 +0000
parents 42a0b7b16738
children 7d941b8c4e84
comparison
equal deleted inserted replaced
250:3449316664b5 251:75091bfc577b
212 avctx->draw_horiz_band(avctx, src_ptr, s->linesize, 212 avctx->draw_horiz_band(avctx, src_ptr, s->linesize,
213 y, s->width, h); 213 y, s->width, h);
214 } 214 }
215 } 215 }
216 216
217 if (s->h263_msmpeg4) 217 if (s->h263_msmpeg4 && s->pict_type==I_TYPE)
218 if(msmpeg4_decode_ext_header(s, buf_size) < 0) return -1; 218 if(msmpeg4_decode_ext_header(s, buf_size) < 0) return -1;
219 219
220 MPV_frame_end(s); 220 MPV_frame_end(s);
221 221
222 pict->data[0] = s->current_picture[0]; 222 pict->data[0] = s->current_picture[0];