hevc_ps: make sure failing to decode an SPS always returns an error
authorAnton Khirnov <anton@khirnov.net>
Mon, 13 Jul 2015 05:49:03 +0000 (07:49 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 13 Jul 2015 05:49:03 +0000 (07:49 +0200)
commitb9f76d19d81fbc7f088536f966c2d3dc23c34ddc
tree016df4cacaa6b8802cd269a7b495860a228c3503
parent077b55943330150db0eafd36bbee614697cabd98
hevc_ps: make sure failing to decode an SPS always returns an error

Some of the goto err clauses do not set the error code. It seems better
to fall back on INVALIDDATA instead of adding it everywhere explicitly.
libavcodec/hevc_ps.c