Changeset 0c55c6d3 in ffmpeg
- Timestamp:
-
Mar 26, 2011, 1:40:30 PM
(14 years ago)
- Author:
- Stefano Sabatini <stefano.sabatini-lala@poste.it>
- Branches:
- master
- Children:
- ca1a2a4
- Parents:
- 83613154
- git-author:
- Stefano Sabatini <stefano.sabatini-lala@poste.it> (03/12/11 11:44:22)
- git-committer:
- Stefano Sabatini <stefano.sabatini-lala@poste.it> (03/26/11 13:40:30)
- Message:
-
cmdutils: remove list_fmts(), simplify
The function was only used in opt_sample_fmt() for listing the sample
formats. Move list_fmts() functionality directly into
opt_sample_fmt().
Als fix the warning:
ffmpeg.c: In function ‘opt_audio_sample_fmt’:
ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type
cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’
-
(No files)
-