diff options
author | jstebbins <jstebbins.hb@gmail.com> | 2011-04-27 22:53:25 +0000 |
---|---|---|
committer | jstebbins <jstebbins.hb@gmail.com> | 2011-04-27 22:53:25 +0000 |
commit | d845d7d9fd637a91235ed3d0e5c6394c6d8a48e3 (patch) | |
tree | d3a867ed5f1c8254684c6c65b0d09fd1ebc24326 /libhb/stream.c | |
parent | f3d48d42f46644795c5a35bf117edaeefe496ca3 (diff) |
Fix a crash that can happen due to corrupt mpeg2 data
The mpe2dec can return nonsense values for width and height that
make sws_getContext fail. So check the context return value and
just drop the buffer if it fails.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3963 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
0 files changed, 0 insertions, 0 deletions