comparison libmpeg2/header.c @ 9858:9af61fc7955c

changed input and output buffer handling to be mplayer-compatible... based on patch by Fabian Franz <FabianFranz@gmx.de>
author arpi
date Sun, 06 Apr 2003 16:42:15 +0000
parents 47984e3f54ce
children d9d24093db2e
comparison
equal deleted inserted replaced
9857:89b48bc6c441 9858:9af61fc7955c
653 mpeg2dec->yuv_index ^= 1; 653 mpeg2dec->yuv_index ^= 1;
654 } 654 }
655 } else { 655 } else {
656 int b_type; 656 int b_type;
657 657
658 mpeg2dec->decoder.convert = NULL; 658 //mpeg2dec->decoder.convert = NULL;
659 b_type = (mpeg2dec->decoder.coding_type == B_TYPE); 659 b_type = (mpeg2dec->decoder.coding_type == B_TYPE);
660 mpeg2_init_fbuf (&(mpeg2dec->decoder), mpeg2dec->fbuf[0]->buf, 660 mpeg2_init_fbuf (&(mpeg2dec->decoder), mpeg2dec->fbuf[0]->buf,
661 mpeg2dec->fbuf[b_type + 1]->buf, 661 mpeg2dec->fbuf[b_type + 1]->buf,
662 mpeg2dec->fbuf[b_type]->buf); 662 mpeg2dec->fbuf[b_type]->buf);
663 } 663 }