update to libnut, no nut_skip_packet()

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20942 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ods15 2006-11-15 11:36:22 +00:00
parent e7c9a5bbe4
commit 41e99a2c76
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ static int demux_nut_fill_buffer(demuxer_t * demuxer, demux_stream_t * dsds) {
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));