summaryrefslogtreecommitdiffstats
path: root/libavfilter/buffersrc.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-12-16 16:29:44 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-12-26 11:35:27 +0100
commit334e2e23638349333f1a8b231599a28fb7fc3fab (patch)
tree427262fe35ce3fa2483483ce59f5c931ba14b5b7 /libavfilter/buffersrc.c
parent3b8c7da7a36d30f8184976ea2158b534595e7738 (diff)
downloadffmpeg-streaming-334e2e23638349333f1a8b231599a28fb7fc3fab.zip
ffmpeg-streaming-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/buffersrc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud