duplicate decleration, compiling warning

Issue #215 resolved
Former user created an issue

/aur-x265-hg/src/x265/source/encoder/encoder.cpp: In member function ‘void x265_10bit::Encoder::finishFrameStats(x265_10bit::Frame, x265_10bit::FrameEncoder, x265_frame_stats, int)’: /aur-x265-hg/src/x265/source/encoder/encoder.cpp:1275:16: warning: declaration of ‘slice’ shadows a previous local [-Wshadow] Slice slice = curFrame->m_encData->m_slice; ^ /aur-x265-hg/src/x265/source/encoder/encoder.cpp:1222:12: note: shadowed declaration is here Slice* slice = curEncData.m_slice;

please fix,

Eliot

Comments (1)

  1. Log in to comment