Loading media/codec2/components/gav1/C2SoftGav1Dec.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -773,6 +773,14 @@ bool C2SoftGav1Dec::outputBuffer(const std::shared_ptr<C2BlockPool> &pool, return false; } if (buffer->bitdepth > 10) { ALOGE("bitdepth %d is not supported", buffer->bitdepth); mSignalledError = true; work->workletsProcessed = 1u; work->result = C2_CORRUPTED; return false; } const int width = buffer->displayed_width[0]; const int height = buffer->displayed_height[0]; if (width != mWidth || height != mHeight) { Loading Loading
media/codec2/components/gav1/C2SoftGav1Dec.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -773,6 +773,14 @@ bool C2SoftGav1Dec::outputBuffer(const std::shared_ptr<C2BlockPool> &pool, return false; } if (buffer->bitdepth > 10) { ALOGE("bitdepth %d is not supported", buffer->bitdepth); mSignalledError = true; work->workletsProcessed = 1u; work->result = C2_CORRUPTED; return false; } const int width = buffer->displayed_width[0]; const int height = buffer->displayed_height[0]; if (width != mWidth || height != mHeight) { Loading