On Mon, 20 Jan 2014, Anton Khirnov  wrote:

Module: libav
Branch: master
Commit: 93c553c71ef48550ff7c2aa7b5712a7e01f1999f

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Thu Jan  2 11:07:11 2014 +0100

lavc: deprecate CODEC_FLAG_EMU_EDGE and avcodec_get_edge_width().

---

doc/APIchanges       |    5 +++++
libavcodec/avcodec.h |   21 +++++++++++++--------
libavcodec/utils.c   |    7 +++++++
libavcodec/version.h |    5 ++++-
4 files changed, 29 insertions(+), 9 deletions(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index ed68d0f..2e418ec 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1089,6 +1091,11 @@ int attribute_align_arg avcodec_open2(AVCodecContext 
*avctx, const AVCodec *code
            ret = AVERROR(EINVAL);
            goto free_and_end;
        }
+
+#if FF_API_EMU_EDGE
+        /* force the emu edge flag on, since it's now always active */
+        avctx->flags |= CODEC_FLAG_EMU_EDGE;
+#endif

This hunk broke the h264-reinit-small_420_8-to-large_444_10 test on a number of configs. In configs where it seemingly still passes, try running it in valgrind.

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

Reply via email to