Mercurial > mplayer.hg
diff libmpeg2/decode.c @ 31288:020ae1402728
Remove stale leftovers from MPlayer-specific buffer handling in libmpeg2.
author | diego |
---|---|
date | Wed, 09 Jun 2010 14:35:31 +0000 |
parents | da2271c341ee |
children | 32a214ee10e5 |
line wrap: on
line diff
--- a/libmpeg2/decode.c Wed Jun 09 13:44:32 2010 +0000 +++ b/libmpeg2/decode.c Wed Jun 09 14:35:31 2010 +0000 @@ -19,10 +19,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Modified for use with MPlayer, see libmpeg2_changes.diff for the exact changes. - * detailed changelog at http://svn.mplayerhq.hu/mplayer/trunk/ - * $Id$ */ #include "config.h" @@ -349,15 +345,6 @@ fbuf->buf[1] = buf[1]; fbuf->buf[2] = buf[2]; fbuf->id = id; - // HACK! FIXME! At first I frame, copy pointers to prediction frame too! - if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){ - mpeg2dec->fbuf[1]->buf[0]=buf[0]; - mpeg2dec->fbuf[1]->buf[1]=buf[1]; - mpeg2dec->fbuf[1]->buf[2]=buf[2]; - mpeg2dec->fbuf[1]->id=NULL; - } -// printf("libmpeg2: FBUF 0:%p 1:%p 2:%p\n", -// mpeg2dec->fbuf[0]->buf[0],mpeg2dec->fbuf[1]->buf[0],mpeg2dec->fbuf[2]->buf[0]); } void mpeg2_custom_fbuf (mpeg2dec_t * mpeg2dec, int custom_fbuf)