Mercurial > libavcodec.hg
comparison rv10.c @ 2028:141a9539e270 libavcodec
data_size = 0 cleanup
author | michael |
---|---|
date | Fri, 21 May 2004 14:37:16 +0000 |
parents | e2501e6e7ff7 |
children | 4225c131a2eb |
comparison
equal
deleted
inserted
replaced
2027:3a78447c3b53 | 2028:141a9539e270 |
---|---|
649 printf("*****frame %d size=%d\n", avctx->frame_number, buf_size); | 649 printf("*****frame %d size=%d\n", avctx->frame_number, buf_size); |
650 #endif | 650 #endif |
651 | 651 |
652 /* no supplementary picture */ | 652 /* no supplementary picture */ |
653 if (buf_size == 0) { | 653 if (buf_size == 0) { |
654 *data_size = 0; | |
655 return 0; | 654 return 0; |
656 } | 655 } |
657 | 656 |
658 if(avctx->slice_count){ | 657 if(avctx->slice_count){ |
659 for(i=0; i<avctx->slice_count; i++){ | 658 for(i=0; i<avctx->slice_count; i++){ |
683 *pict= *(AVFrame*)&s->last_picture; | 682 *pict= *(AVFrame*)&s->last_picture; |
684 ff_print_debug_info(s, pict); | 683 ff_print_debug_info(s, pict); |
685 } | 684 } |
686 | 685 |
687 *data_size = sizeof(AVFrame); | 686 *data_size = sizeof(AVFrame); |
688 }else{ | |
689 *data_size = 0; | |
690 } | 687 } |
691 | 688 |
692 return buf_size; | 689 return buf_size; |
693 } | 690 } |
694 | 691 |