# HG changeset patch # User ods15 # Date 1163590582 0 # Node ID 623e0adc71a24415cf37da0cea009696ee481d1b # Parent 74b8d7cf4edbbf2cba81b4272acf7d464508aa9d update to libnut, no nut_skip_packet() diff -r 74b8d7cf4edb -r 623e0adc71a2 libmpdemux/demux_nut.c --- a/libmpdemux/demux_nut.c Wed Nov 15 11:26:05 2006 +0000 +++ b/libmpdemux/demux_nut.c Wed Nov 15 11:36:22 2006 +0000 @@ -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));