[MPlayer-users] mplayer -identlfy failure
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Dec 20 20:30:36 CET 2010
On Mon, Dec 20, 2010 at 10:45:07AM +0100, Sebastien Fievet wrote:
> *** libdvdread: CHECK_VALUE failed in libdvdread4/ifo_read.c:1256 ***
> *** for vts_ptt_srpt->title[i].ptt[j].pgn != 0 ***
>
>
> *** libdvdread: CHECK_VALUE failed in libdvdread4/ifo_read.c:1967 ***
> *** for pgci_ut->nr_of_lus < 100 ***
>
> libdvdread: Can't allocate memory for file read!
> mplayer: libdvdread4/dvd_reader.c:1295: DVDReadBytes: Assertion `0' failed.
Hm, the allocation itself actually seems ok, only the number of allocations
probably is the issue.
You could possibly try this:
Index: libdvdread4/ifo_read.c
===================================================================
--- libdvdread4/ifo_read.c (revision 1219)
+++ libdvdread4/ifo_read.c (working copy)
@@ -1965,6 +1965,7 @@
CHECK_ZERO(pgci_ut->zero_1);
CHECK_VALUE(pgci_ut->nr_of_lus != 0);
CHECK_VALUE(pgci_ut->nr_of_lus < 100); /* ?? 3-4 ? */
+ if (pgci_ut->nr_of_lus >= 100) pgci_ut->nr_of_lus = 99;
CHECK_VALUE((uint32_t)pgci_ut->nr_of_lus * PGCI_LU_SIZE < pgci_ut->last_byte);
info_length = pgci_ut->nr_of_lus * PGCI_LU_SIZE;
More information about the MPlayer-users
mailing list