On Tue, Jun 14, 2011 at 12:57:52PM +0200, Anton Khirnov wrote:
> This way the caller can pass all the options in one nice package.
> 
> --- a/libavutil/opt.h
> +++ b/libavutil/opt.h
> @@ -191,4 +192,16 @@ void av_opt_free(void *obj);
>  
> +/*
> + * Set the options contained in the dictionary to obj.

"obj" is undefined at this point, so you should not "forward refer" to it.

> + * @param obj a struct whose first element is a pointer to AVClass
> + * @param options options to process. Will be replaced with an AVDictionary
> + *                containing all options not found in obj.
> + *
> + * @return 0 on success, a negative AVERROR if some option was found in obj,
> + *         but couldn't be set.

could not

Please avoid short forms in written documentation.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to