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:26:46 +0000 (23:26 +0200)
commit4621bc436bea662006c8a2018ffbd6d2a1df48ae
treeac304237f62d024fb7952f96d116ad8f8d38204a
parentd94d786bf06bc87c53305cfb9ffd13dce1ff58b1
avformat/ffmdec: Check pix_fmt

Fixes crash
Fixes Ticket5412

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 78baa450d9939957f52d5187beb95d763d2f1f18)

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