hevc: handle a NULL sps in set_sps() properly
authorAnton Khirnov <anton@khirnov.net>
Sun, 12 Jul 2015 16:57:10 +0000 (18:57 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 12 Jul 2015 16:57:10 +0000 (18:57 +0200)
commit077b55943330150db0eafd36bbee614697cabd98
treea8a7bc7b9636cb3836864af1b47335cba7d2da10
parent18156b53f9b642b71c182c5c9818175a61572d2b
hevc: handle a NULL sps in set_sps() properly

This can happen in update_thread_context(), when the previous frame was
corrupted.
libavcodec/hevc.c