[DVDnav-discuss] [patch] libdvdread: use goto to clean up DVDOpen and remove config.h includes

Erik Hovland erik at hovland.org
Wed Apr 22 04:06:10 CEST 2009


Two patches. One is a clean up of the patch I originally sent about
checking the return value of open. This still checks the return value of
open but implements the goto that was suggest by other members of
the list.

Also, I have a patch which removes config.h where it isn't necessary.

Thanks

E

-- 
Erik Hovland
erik at hovland.org
http://hovland.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apply-goto-to-clean-error-path
Type: application/octet-stream
Size: 3595 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20090421/fae781e8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: header-analysis
Type: application/octet-stream
Size: 2175 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20090421/fae781e8/attachment-0001.obj>


More information about the DVDnav-discuss mailing list