diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-12-16 16:29:44 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-12-26 11:35:27 +0100 |
commit | 334e2e23638349333f1a8b231599a28fb7fc3fab (patch) | |
tree | 427262fe35ce3fa2483483ce59f5c931ba14b5b7 /libavfilter/vf_blend.c | |
parent | 3b8c7da7a36d30f8184976ea2158b534595e7738 (diff) | |
download | ffmpeg-334e2e23638349333f1a8b231599a28fb7fc3fab.tar.gz |
lavu,lavc,lswr: do not hardcode AV_SAMPLE_FMT_NB value when setting sample 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 sample format.
The opt-test code is changed to provide a valid reference example.
Diffstat (limited to 'libavfilter/vf_blend.c')
0 files changed, 0 insertions, 0 deletions