Description of problem: The function DVDFileStat requires a pointer to an allocated dvd_stat_t. However, dvd_stat_t is an opaque structure so it cannot be allocated. The function is then unusable. Version-Release number of selected component (if applicable): 4.1.4-0.1.svn1184 How reproducible: Steps to Reproduce: 1. Try compiling the following program: #include <stdio.h> #include <dvdread/dvd_reader.h> int main (void) { dvd_reader_t *reader; reader = DVDOpen ("/dev/dvd"); if (reader) { dvd_stat_t statbuf; if (DVDFileStat (reader, 0, DVD_READ_MENU_VOBS, &statbuf) == 0) printf ("Size of VIDEO_TS.VOB: %lu", statbuf.size); DVDClose (reader); } return 0; } 2. 3. Actual results: foo.c: In function 'main': foo.c:13: error: storage size of 'statbuf' isn't known Expected results: No error at all. Additional info:
Confirmed, talking to upstream.
Fixed upstream, updated packages will follow soon. Thanks for the report.
libdvdread-4.1.4-0.2.svn1188.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/libdvdread-4.1.4-0.2.svn1188.fc12
libdvdread-4.1.4-0.2.svn1188.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libdvdread-4.1.4-0.2.svn1188.fc11
libdvdread-4.1.4-0.2.svn1188.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libdvdread'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13155
libdvdread-4.1.4-0.2.svn1188.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libdvdread'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13239
libdvdread-4.1.4-0.2.svn1188.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
libdvdread-4.1.4-0.2.svn1188.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.