[MPlayer-cvslog] r20942 - trunk/libmpdemux/demux_nut.c

ods15 subversion at mplayerhq.hu
Wed Nov 15 12:36:22 CET 2006


Author: ods15
Date: Wed Nov 15 12:36:22 2006
New Revision: 20942

Modified:
   trunk/libmpdemux/demux_nut.c

Log:
update to libnut, no nut_skip_packet()


Modified: trunk/libmpdemux/demux_nut.c
==============================================================================
--- trunk/libmpdemux/demux_nut.c	(original)
+++ trunk/libmpdemux/demux_nut.c	Wed Nov 15 12:36:22 2006
@@ -202,7 +202,8 @@
 		ds = demuxer->video;
 	}
 	else {
-		ret = nut_skip_packet(nut, &pd.len);
+		uint8_t buf[pd.len];
+		ret = nut_read_frame(nut, &pd.len, buf);
 		if (ret < 0) {
 			mp_msg(MSGT_HEADER, MSGL_ERR, "NUT error: %s\n",
 			                               nut_error(-ret));



More information about the MPlayer-cvslog mailing list