[FFmpeg-devel] [PATCH] avutil/opt: add av_warn_unused_result

Ganesh Ajjanagadde gajjanagadde at gmail.com
Fri Oct 16 00:12:19 CEST 2015

Some warnings do get triggered that will need to be fixed.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
 libavutil/opt.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/opt.h b/libavutil/opt.h
index 753434d..5abe963 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -414,6 +414,7 @@ void av_opt_set_defaults2(void *s, int mask, int flags);
  * the error code issued by av_opt_set() if a key/value pair
  * cannot be set
 int av_set_options_string(void *ctx, const char *opts,
                           const char *key_val_sep, const char *pairs_sep);
@@ -444,6 +445,7 @@ int av_set_options_string(void *ctx, const char *opts,
  * Separators must use characters distinct from option names and from each
  * other.
 int av_opt_set_from_string(void *ctx, const char *opts,
                            const char *const *shorthand,
                            const char *key_val_sep, const char *pairs_sep);

More information about the ffmpeg-devel mailing list