[Mplayer-cvslog] CVS: 0_90/libmpdemux demux_y4m.c,1.6,1.7

Arpi of Ize arpi at mplayerhq.hu
Sun Mar 23 01:15:27 CET 2003


Update of /cvsroot/mplayer/0_90/libmpdemux
In directory mail:/var/tmp.root/cvs-serv23434

Modified Files:
	demux_y4m.c 
Log Message:
This patch fixes a bug in the y4m demuxer which causes it to crash
on streams with frame-level tags.  Simply put, demux_y4m_fill_buffer, the
frame_info_t structure was not being initialized.  This patch adds the
necessary call to initialize this structure.
Brett Kosinski <brettk at frodo.dyn.gno.org>


Index: demux_y4m.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libmpdemux/demux_y4m.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- demux_y4m.c	24 Apr 2002 15:36:07 -0000	1.6
+++ demux_y4m.c	23 Mar 2003 00:15:25 -0000	1.7
@@ -68,6 +68,8 @@
   unsigned char *buf[3];
   int err, size;
 
+  y4m_init_frame_info(&fi);
+
   demux->filepos=stream_tell(demux->stream);
 
   size = ((sh_video_t*)ds->sh)->disp_w*((sh_video_t*)ds->sh)->disp_h;



More information about the MPlayer-cvslog mailing list