Changeset 334e2e23 in ffmpeg

Timestamp:
Dec 26, 2013, 10:35:27 AM (11 years ago)
Author:
Stefano Sabatini <stefasab@gmail.com>
Branches:
master
Children:
cd355d4d
Parents:
3b8c7da7
git-author:
Stefano Sabatini <stefasab@gmail.com> (12/16/13 15:29:44)
git-committer:
Stefano Sabatini <stefasab@gmail.com> (12/26/13 10:35:27)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.