avformat/ffmdec: Check pix_fmt
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Apr 2016 20:50:48 +0000 (22:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Apr 2016 21:25:18 +0000 (23:25 +0200)
commit78baa450d9939957f52d5187beb95d763d2f1f18
tree0bd9bba4cfd4e2b4759bdd67becba187d1db0aaf
parente9a9ca1936ea2853cdfb8913d44711d240eec60d
avformat/ffmdec: Check pix_fmt

Fixes crash
Fixes Ticket5412

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ffmdec.c