From 7c1019499602e23141d7ca06fe6df5ea5ab3a240 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 11 Aug 2012 15:23:22 +0200 Subject: cmdutils: refactor -codecs option. Make it print a list of AVCodecDescriptors. Add new -decoders and -encoders options that print lists of decoders and encoders respectively. --- cmdutils.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index f013c2a33f..d787496a36 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -278,6 +278,18 @@ void show_formats(void); */ void show_codecs(void); +/** + * Print a listing containing all the decoders supported by the + * program. + */ +int show_decoders(const char *opt, const char *arg); + +/** + * Print a listing containing all the encoders supported by the + * program. + */ +int show_encoders(const char *opt, const char *arg); + /** * Print a listing containing all the filters supported by the * program. -- cgit v1.2.3