Module: libav Branch: master Commit: 190d4a447bc6ae4ecbbbb1c70f482a9c1fb6026c
Author: Diego Biurrun <[email protected]> Committer: Diego Biurrun <[email protected]> Date: Tue Feb 4 03:23:15 2014 -0800 avcodec: Suppress deprecation warnings from avcodec_alloc_frame() 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; } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
