| Index: source/patched-ffmpeg-mt/libavfilter/formats.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavfilter/formats.c (revision 59334)
|
| +++ source/patched-ffmpeg-mt/libavfilter/formats.c (working copy)
|
| @@ -107,7 +107,8 @@
|
| {
|
| AVFilterFormats *ret = NULL;
|
| int fmt;
|
| - int num_formats = type == AVMEDIA_TYPE_VIDEO ? PIX_FMT_NB : 0;
|
| + int num_formats = type == AVMEDIA_TYPE_VIDEO ? PIX_FMT_NB :
|
| + type == AVMEDIA_TYPE_AUDIO ? SAMPLE_FMT_NB : 0;
|
|
|
| for (fmt = 0; fmt < num_formats; fmt++)
|
| if ((type != AVMEDIA_TYPE_VIDEO) ||
|
|
|