]> git.sesse.net Git - ffmpeg/commit
wtvdec: Check that stream private context has been allocated before use.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Apr 2012 13:29:34 +0000 (15:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Apr 2012 13:29:34 +0000 (15:29 +0200)
commitfd2127ad53370c4f5d615265c4f915126e7d5f4f
tree38618656bb013339337f72ff06e07de5bf93085d
parent9a4f5b76169a71156819dbaa8ee0b6ea25dc7195
wtvdec: Check that stream private context has been allocated before use.

This fixes a null ptr dereference with attachments

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/wtvdec.c