Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-10-04 14:10:25 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-10-04 18:36:27 +0400
commit515e651f56e80b3a5ee4b739cfa1e916f4e33f6d (patch)
tree74b7defdb3455d4c739ace2a1586f47a9fd499dc /libavutil/opt.h
parent719b4eef5db7c2452229b4a801722281d5f5f874 (diff)
lavu/opt: fix doxy for av_opt_get* functions about return value
Success code must be >= 0 and not == 0, consistently with the implementation.
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r--libavutil/opt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index 3882751f05..331c5de689 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -687,7 +687,7 @@ int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int searc
* @param[in] search_flags flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN
* is passed here, then the option may be found in a child of obj.
* @param[out] out_val value of the option will be written here
- * @return 0 on success, a negative error code otherwise
+ * @return >=0 on success, a negative error code otherwise
*/
/**
* @note the returned string will av_malloc()ed and must be av_free()ed by the caller