diff options
author | Shitiz Garg <mail-5deEcKV3Bynk1uMJSBkQmQ@public.gmane.org> | 2011-12-16 04:50:21 +0530 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-03 19:03:05 +0100 |
commit | 34cee5bd373ec6cc297753957b73e47f31566a1d (patch) | |
tree | 3dbbbb135350f27b43cdcf93cc907509597532dc /libavutil/utils.c | |
parent | 95234da75eac6e77d5747abecd3f2edf45c3a37c (diff) | |
download | ffmpeg-34cee5bd373ec6cc297753957b73e47f31566a1d.tar.gz |
cljr: Check if width or height are positive integers
width and height might get passed as 0 and would cause floating point
exceptions in decode_frame.
Fixes bugzilla #149
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4af0262f7d531c33b00d7f9dbca808d9c62d6a84)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions