The function is itself obsolete and slated for removal.
---
libavcodec/utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 044413a..46f339f 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -853,7 +853,9 @@ AVFrame *avcodec_alloc_frame(void)
if (frame == NULL)
return NULL;
+FF_DISABLE_DEPRECATION_WARNINGS
avcodec_get_frame_defaults(frame);
+FF_ENABLE_DEPRECATION_WARNINGS
return frame;
}
--
1.8.3.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel