]> git.sesse.net Git - ffmpeg/commit
lavfi/scale: allocate interlaced scalers only if needed.
authorNicolas George <nicolas.george@normalesup.org>
Thu, 18 Jul 2013 09:03:56 +0000 (11:03 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 18 Jul 2013 10:08:25 +0000 (12:08 +0200)
commitebaf20e94b99edfa2d1fb70e68ae6eba90773a47
treeea16d1f91222c216121d0a93979431ad692375e3
parent630fc7dcfc31ad630405dbe44ade53ec83be0ae3
lavfi/scale: allocate interlaced scalers only if needed.

Fix "Value 0.000000 for parameter 'srch' out of range"
error message when source or destination height is 1.

Note: since the av_opt_set_int() calls are not checked for
failure and the interlaced scalers are not actually used,
this error has no consequence apart from a frightening message
in the log.
libavfilter/vf_scale.c