diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 81a210cac3..c8fd8c65fc 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1493,11 +1493,6 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code } } } - -#if FF_API_EMU_EDGE - /* force the emu edge flag on, since it's now always active */ - avctx->flags |= CODEC_FLAG_EMU_EDGE; -#endif } end: ff_unlock_avcodec();