Initialize dvd_reader_t struct in DVDOpenImageFile
authorRichard Hulme <peper03@yahoo.com>
Sun, 26 Jan 2014 16:13:03 +0000 (17:13 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 2 Mar 2014 11:01:48 +0000 (12:01 +0100)
commit7c743650d038ee280f990cfb7d5f867842ee7369
tree4b198acd0bef98e39099e7070c901ba90b8996c6
parent563c79a604ea96ecf48dcbd0da618bfdf7d6fb90
Initialize dvd_reader_t struct in DVDOpenImageFile

This ensures that the dvd_reader_t struct is initialized (e.g. the css_state
field is currently undefined if 'have_css' is false).

The patch is part of a bigger MythTV-specific change by Chris Pinkham:
https://github.com/MythTV/mythtv/commit/3af3489

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/dvd_reader.c