When compiled by clang, libavcodec/videotoolboxenc.c produces three warnings:
libavcodec/videotoolboxenc.c:962:13: warning: assigning to 'void *' from
'CFNumberRef' (aka 'const struct __CFNumber *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
nums[0] = bytes_per
and using that in CFArrayCreate silences
the third warning.
Signed-off-by: Patrick Earnest
---
libavcodec/videotoolboxenc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 638f278cd0..4cc4fbfef4 10