summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorjstebbins <jstebbins.hb@gmail.com>2011-04-27 22:53:25 +0000
committerjstebbins <jstebbins.hb@gmail.com>2011-04-27 22:53:25 +0000
commitd845d7d9fd637a91235ed3d0e5c6394c6d8a48e3 (patch)
treed3a867ed5f1c8254684c6c65b0d09fd1ebc24326 /libhb/stream.c
parentf3d48d42f46644795c5a35bf117edaeefe496ca3 (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