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:45 +0000 (23:26 +0200)
commit2a158602273f9e8875280e5202de6d7e19845c80
treef3d374c5e44076d6be677520e6f4abee66cdec2a
parent66443b0cf3be19488454d01e08317bece44eee28
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