replaced E_FAIL with E_NOTIMPL in SetDecoderProperties2()

This commit is contained in:
Tino Reichardt
2016-12-30 12:25:42 +01:00
parent 6e2f651790
commit 62ccbe9d58
3 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte * prop, UInt32 size)
DProps *pProps = (DProps *)prop;
if (size != sizeof(DProps))
return E_FAIL;
return E_NOTIMPL;
memcpy(&_props, pProps, sizeof (DProps));

View File

@@ -100,7 +100,7 @@ STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte * prop, UInt32 size)
DProps *pProps = (DProps *)prop;
if (size != sizeof(DProps))
return E_FAIL;
return E_NOTIMPL;
memcpy(&_props, pProps, sizeof (DProps));

View File

@@ -100,7 +100,7 @@ STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte * prop, UInt32 size)
DProps *pProps = (DProps *)prop;
if (size != sizeof(DProps))
return E_FAIL;
return E_NOTIMPL;
memcpy(&_props, pProps, sizeof (DProps));