Commit 0cd7e54f authored by Committed by DavidBrowse files
macosx: VLCPlaylistDataSource: fix error handling
The previous check if data is nil is useless here, as unarchiveObjectWithData can not modify data, and there is already a check above this code that ensures data is not nil. But unarchiveObjectWithData could fail if it can not decode the archive, raising an NSInvalidArgumentException, so handle that properly.
Showing with 11 additions and 3 deletions