h264: slice-mt: check master context for valid current_picture_ptr
authorJanne Grunau <janne-libav@jannau.net>
Wed, 5 Dec 2012 19:08:01 +0000 (20:08 +0100)
committerDiego Biurrun <diego@biurrun.de>
Fri, 1 Aug 2014 14:37:14 +0000 (07:37 -0700)
commit3e60501f311c50bf234033f206c19d34d889df01
treef114701c88f53ba0dee8fd2fcdd5b86c658d23a9
parent7585a6254bbb38148e4467793fc34211b79d5f7d
h264: slice-mt: check master context for valid current_picture_ptr

Fixes errors in slice based multithreading introduced in 0b300daad2f5.

CC: libav-stable@libav.org
(cherry picked from commit 5945c7b35d9169caf9ecef1c419eebdebb909e60)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/h264.c