]> git.sesse.net Git - ffmpeg/commit
cljr: Check if width and height are positive integers
authorShitiz Garg <mail@dragooon.net>
Thu, 15 Dec 2011 22:20:21 +0000 (22:20 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Sun, 18 Dec 2011 22:52:53 +0000 (23:52 +0100)
commit652d81b2c2201922f0fef2bbd171299ce3798d12
tree15f82efe16180a60d9ff7366bea5bbf5ce2849b4
parent2a216ca2ef29282cac9003a716b469b8c80c0a15
cljr: Check if width and 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: Janne Grunau <janne-libav@jannau.net>
libavcodec/cljr.c