[Mplayer-cvslog] CVS: main/libmpdemux demux_y4m.c,1.6,1.7
Alex Beregszaszi
alex at mplayerhq.hu
Sat Mar 22 20:50:32 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv2948
Modified Files:
demux_y4m.c
Log Message:
fix crash on streams with frame tags, patch by Brett Kosinski <brettk at frodo.dyn.gno.org>
Index: demux_y4m.c
===================================================================
RCS file: /cvsroot/mplayer/main/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 22 Mar 2003 19:50:10 -0000 1.7
@@ -34,7 +34,6 @@
buf[9] = 0;
if (strncmp("YUV4MPEG2", buf, 9) && strncmp("YUV4MPEG ", buf, 9)) {
- mp_msg(MSGT_DEMUX, MSGL_DBG2, "Failed: YUV4MPEG2\n");
return 0;
}
@@ -67,6 +66,8 @@
y4m_frame_info_t fi;
unsigned char *buf[3];
int err, size;
+
+ y4m_init_frame_info(&fi);
demux->filepos=stream_tell(demux->stream);
More information about the MPlayer-cvslog
mailing list