Commit e0ab5078 authored by Anton Khirnov's avatar Anton Khirnov

lavc: do not force the emu edge flag

The default get_buffer2() implementation (and possibly some
user ones) does not allocate edges when this flag is set, which may
expose bugs in some decoders. Until the 10 release is out, it is safer
to remove this part.
parent 025fd76e
......@@ -1091,11 +1091,6 @@ 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
}
end:
entangled_thread_counter--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment