diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-02-06 12:03:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 12:03:37 +0100 |
commit | 5cc30e0f603a030b97b7be37a7aa5d22d13f7a07 (patch) | |
tree | 01875b465e2f7749cc8f87f1df756b2cb2ca2596 /media/ffvpx/libavutil/opt.h | |
parent | 389c60da5e01761f4a11ef539ffa26e4c1b17875 (diff) | |
parent | 30bfbb3f97bd64b7838bcb55c98fa698b1bcc9d2 (diff) | |
download | UXP-5cc30e0f603a030b97b7be37a7aa5d22d13f7a07.tar UXP-5cc30e0f603a030b97b7be37a7aa5d22d13f7a07.tar.gz UXP-5cc30e0f603a030b97b7be37a7aa5d22d13f7a07.tar.lz UXP-5cc30e0f603a030b97b7be37a7aa5d22d13f7a07.tar.xz UXP-5cc30e0f603a030b97b7be37a7aa5d22d13f7a07.zip |
Merge pull request #10 from trav90/media-work
Update FFmpeg code to n3.2-65-gee56777
Diffstat (limited to 'media/ffvpx/libavutil/opt.h')
-rw-r--r-- | media/ffvpx/libavutil/opt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/ffvpx/libavutil/opt.h b/media/ffvpx/libavutil/opt.h index 9a76a47f7..9430b989e 100644 --- a/media/ffvpx/libavutil/opt.h +++ b/media/ffvpx/libavutil/opt.h @@ -58,7 +58,7 @@ * The following example illustrates an AVOptions-enabled struct: * @code * typedef struct test_struct { - * AVClass *class; + * const AVClass *class; * int int_opt; * char *str_opt; * uint8_t *bin_opt; @@ -96,7 +96,7 @@ * @code * test_struct *alloc_test_struct(void) * { - * test_struct *ret = av_malloc(sizeof(*ret)); + * test_struct *ret = av_mallocz(sizeof(*ret)); * ret->class = &test_class; * av_opt_set_defaults(ret); * return ret; |