Bug 540155
| Summary: | libdvdread-devel: DVDFileStat is broken | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Olivier Rolland <billl> | |
| Component: | libdvdread | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 12 | CC: | dominik, itamar, rdieter | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | 4.1.4-0.2.svn1188.fc12 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 842016 (view as bug list) | Environment: | ||
| Last Closed: | 2009-12-24 20:42:15 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
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. |
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: