X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2FLibCEC.cpp;h=6b53f049563ff74397089944f9fcf84f307bb773;hb=a6b6469cc934c046067a5f518d47344b749ab9f1;hp=9498bc9995810d4f1e7c31c22e0dab7e2e2e1e6d;hpb=3d6f51d524e90568aec92e109caf4225dc256b1c;p=deb_libcec.git diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index 9498bc9..6b53f04 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -213,7 +213,7 @@ void CLibCEC::AddCommand(cec_logical_address source, cec_logical_address destina command.destination = destination; command.opcode = opcode; if (parameters) - command.parameters = *parameters; + command.parameters = parameters->packet; if (m_commandBuffer.Push(command)) { CStdString strDebug;