diff options
author | Mina Nagy Zaki <mnzaki@gmail.com> | 2011-06-07 17:42:32 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-08 18:50:07 +0200 |
commit | 47d2ca3205b53665328fe301879c339449db7a1d (patch) | |
tree | 4885ce2def1e0de1f466e5a01767dbaaed92d26e /libavfilter/avfilter.h | |
parent | 9e4cb03a93593f8ddb8b4ea3c7ee3bf8acb7ea21 (diff) | |
download | ffmpeg-47d2ca3205b53665328fe301879c339449db7a1d.tar.gz |
lavfi: handle NULL lists in avfilter_make_format_list
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 541dbe7aa7..ac954ca198 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -27,7 +27,7 @@ #define LIBAVFILTER_VERSION_MAJOR 2 #define LIBAVFILTER_VERSION_MINOR 14 -#define LIBAVFILTER_VERSION_MICRO 0 +#define LIBAVFILTER_VERSION_MICRO 1 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ LIBAVFILTER_VERSION_MINOR, \ @@ -233,7 +233,8 @@ typedef struct AVFilterFormats { * Create a list of supported formats. This is intended for use in * AVFilter->query_formats(). * - * @param fmts list of media formats, terminated by -1 + * @param fmts list of media formats, terminated by -1. If NULL an + * empty list is created. * @return the format list, with no existing references */ AVFilterFormats *avfilter_make_format_list(const int *fmts); |