diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-03-12 12:44:22 +0100 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-03-26 14:40:30 +0100 |
commit | 0c55c6d30e0aa07b47645fafc6a817dfbfa2e85b (patch) | |
tree | 8d7c6a33f4234d422dbdea9d1157ee3884901eb1 /ffserver.h | |
parent | 836131546947db75f2ff81a452e5ee9392c4acf8 (diff) | |
download | ffmpeg-0c55c6d30e0aa07b47645fafc6a817dfbfa2e85b.tar.gz |
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)’
Diffstat (limited to 'ffserver.h')
0 files changed, 0 insertions, 0 deletions