fix access to unavailable reference picture in broken streams
Free NAL objects on error.
Merge pull request #75 from fancycode/free_nal_on_error

Free NAL objects on error.
mark all CTBs as PREFILTER after slice decoding (in case faulty streams miss part of the picture)
fix: force image progress for slice-decoding finished image
set valid values into RPS in case of error
Removed unnecessary check (Coverity #1219872).
Initialize variables inside thread lock (Coverity #1219873/#1219874).
Added missing field initializer (Coverity #1107350).
Zero-initialize variable (Coverity #1219904).
Initialize thread counters in constructor (Coverity #1233759 / #1233760 / #1233761).
fix storage of user_data
Merge pull request #77 from fancycode/coverity_fixes

Coverity fixes
remove obsolete (and wrong) assertion
Merge branch 'master' of https://github.com/strukturag/libde265
Autodetect "moc" commandline tool.
Updated detection to also support Qt5 (should fix #69).
Updated cmake script to use new filenames (fixes #74).
Added API to change the userdata of an image.
save PTS and userdata early so that it is valid in get_buffer()