vp9: don't retain NULL as segmentation_map
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 17 Jun 2015 17:02:15 +0000 (19:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 19 Jun 2015 16:40:49 +0000 (18:40 +0200)
commit250cf2d4dae0baf14ecdd6744c9555d24a6668ff
tree7c2175fb0f53b3659d10f1728ca553679ba6e099
parent93d076b4fde12f11c67dcea86a27cc9770450fd4
vp9: don't retain NULL as segmentation_map

This fixes segmentation faults, which were introduced in commit
4ba8f327.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit d216b9debd9843d31732ebb7344a85b3cd96b7cc)

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