Build output.cpp will be errored with c2061 (syntax error: YUVOutput) in msvc.

Issue #629 new
Hearst Zhang created an issue

This is a build issue caused by conflict define between common/yuv.h and output/yuv.h

if include one of them, the other will be hidden by “#ifndef X265_YUV_H“.

And this is why output.cpp might cause build error.

Should change one of them to something else. For example: change output/yuv.h to “#ifndef X265_OUTPUT_YUV_H“ “#define X265_OUTPUT_YUV_H

Comments (0)

  1. Log in to comment