comparison h263dec.c @ 2028:141a9539e270 libavcodec

data_size = 0 cleanup
author michael
date Fri, 21 May 2004 14:37:16 +0000
parents ec6bfd8d92fc
children 4032a03192ec
comparison
equal deleted inserted replaced
2027:3a78447c3b53 2028:141a9539e270
415 printf("bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]); 415 printf("bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
416 #endif 416 #endif
417 s->flags= avctx->flags; 417 s->flags= avctx->flags;
418 s->flags2= avctx->flags2; 418 s->flags2= avctx->flags2;
419 419
420 *data_size = 0;
421
422 /* no supplementary picture */ 420 /* no supplementary picture */
423 if (buf_size == 0) { 421 if (buf_size == 0) {
424 /* special case for last picture */ 422 /* special case for last picture */
425 if (s->low_delay==0 && s->next_picture_ptr) { 423 if (s->low_delay==0 && s->next_picture_ptr) {
426 *pict= *(AVFrame*)s->next_picture_ptr; 424 *pict= *(AVFrame*)s->next_picture_ptr;