[libdvdnav-devel] Fix crashes with some DVDs on describe_title

Ricardo wiiaboo at gmail.com
Tue Sep 1 16:45:12 CEST 2015


This commit ( d88c77fa205efe880d922b1dd414eaa6d678751d ) breaks compilation
at least in MinGW.
Changing the printerr to printerrf fixes the second error, but not sure
about the first one.

src/searching.c: In function 'dvdnav_describe_title_chapters':
src/searching.c:650:16: error: invalid operands to binary == (have
'ptt_info_t {aka struct <anonymous>}' and 'void *')
     if (ptt[i] == NULL) {
                ^
src/searching.c:651:45: error: macro "printerr" passed 3 arguments, but
takes just 1
       printerr("ptt NULL: %i %i.", i, parts );
                                             ^
src/searching.c:651:7: error: 'printerr' undeclared (first use in this
function)
       printerr("ptt NULL: %i %i.", i, parts );
       ^
src/searching.c:651:7: note: each undeclared identifier is reported only
once for each function it appears in
Makefile:601: recipe for target 'src/searching.lo' failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvdnav-devel/attachments/20150901/ec9d57aa/attachment.html>


More information about the libdvdnav-devel mailing list