avcodec/vdpau: do not dereference hwctx before checking it for NULL
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Oct 2014 15:39:28 +0000 (17:39 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Oct 2014 15:39:28 +0000 (17:39 +0200)
commit67ddf21611b904de1ee3eb0206cd2744a135704a
treee5520357343aa34826b9a656433b1efa72c740c6
parent4d8356b6788016d578941d1b43d141d5db2fdf14
avcodec/vdpau: do not dereference hwctx before checking it for NULL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vdpau.c