diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-12-16 14:17:50 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-12-26 11:35:26 +0100 |
commit | e2b54464c6a9de5d6b9ad4307696b0215d5e05a4 (patch) | |
tree | 83869c088e3f3d1e176b5bed30985c3e6eb57a1d /cmdutils_common_opts.h | |
parent | 165f96cd2d687122748f862a0bc6e9908fe3d5d2 (diff) | |
download | ffmpeg-e2b54464c6a9de5d6b9ad4307696b0215d5e05a4.tar.gz |
lavu/opt: fix range check logic in set_format()
In particular, allow to reject undefined values. Previously the code
was only accepting values in the range -1 .. NB_FORMATS-1.
Diffstat (limited to 'cmdutils_common_opts.h')
0 files changed, 0 insertions, 0 deletions