lavfi/aspect: fail with AVERROR(EINVAL) in case of invalid specified aspect
authorStefano Sabatini <stefasab@gmail.com>
Mon, 19 Mar 2012 19:06:06 +0000 (20:06 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 19 Mar 2012 19:09:22 +0000 (20:09 +0100)
commite19ccc89ef90dcc8ecc5e3e539761a6a6eccbcef
tree746be5c05211483f9912be18ec5b6813c510c0e6
parent11642cd16f1b18232bdeca4cddb2dd7c11cbd2f3
lavfi/aspect: fail with AVERROR(EINVAL) in case of invalid specified aspect

Previously it was returning 0 in case the aspect was parsable but
invalid.

X-ColaCount: +10*PHIl
libavfilter/vf_aspect.c