comparison h263dec.c @ 771:d4cc92144266 libavcodec

handle direct rendering buffer allocation failure
author michaelni
date Sun, 27 Oct 2002 00:02:23 +0000
parents 339db642859d
children 21d400c67fc5
comparison
equal deleted inserted replaced
770:d1770a34e4f6 771:d4cc92144266
455 return get_consumed_bytes(s, buf_size); 455 return get_consumed_bytes(s, buf_size);
456 else 456 else
457 s->next_p_frame_damaged=0; 457 s->next_p_frame_damaged=0;
458 } 458 }
459 459
460 MPV_frame_start(s, avctx); 460 if(MPV_frame_start(s, avctx) < 0)
461 return -1;
461 462
462 #ifdef DEBUG 463 #ifdef DEBUG
463 printf("qscale=%d\n", s->qscale); 464 printf("qscale=%d\n", s->qscale);
464 #endif 465 #endif
465 466