diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-12-16 16:11:49 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-12-26 11:35:27 +0100 |
commit | 3b8c7da7a36d30f8184976ea2158b534595e7738 (patch) | |
tree | 5a8cada9925480d5568c1feff33513e58319a7bf /ffmpeg.c | |
parent | 55f046be1193142536198957d1701d18881d3b7a (diff) | |
download | ffmpeg-3b8c7da7a36d30f8184976ea2158b534595e7738.tar.gz |
lavu,lavfi,lavd: do not hardcode AV_PIX_FMT_NB value when setting pixel format max value
The constant may change in libavutil but the library may be compiled
against an older version, thus rejecting a value which is otherwise
supported by the new libavutil.
INT_MAX is used here to denote the max allowed value for a pixel format.
The opt-test code is changed to provide a valid reference example.
Diffstat (limited to 'ffmpeg.c')
0 files changed, 0 insertions, 0 deletions