We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please review the attached patch, it removes an assignment of a function parameter, which has no effect outside function.
Here is the patch:
diff --git a/codec/decoder/plus/src/welsDecoderExt.cpp b/codec/decoder/plus/src/welsDecoderExt.cpp index 65dd30a..eec4609 100644 --- a/codec/decoder/plus/src/welsDecoderExt.cpp +++ b/codec/decoder/plus/src/welsDecoderExt.cpp @@ -480,6 +480,5 @@ long CreateDecoder (ISVCDecoder** ppDecoder) { void_t DestroyDecoder (ISVCDecoder* pDecoder) { if (NULL != pDecoder) { delete (CWelsDecoder*)pDecoder; - pDecoder = NULL; } }
Best regards and many thanks
Martin Ettl
The text was updated successfully, but these errors were encountered:
I think it is a good habit to set NULL when delete a point.
Sorry, something went wrong.
Since ISVCDecoder* pDecoder is provided by value, setting this pointer to NULL has no effect. Its simply a waste of time.
Rolled into pull request #58
No branches or pull requests
Please review the attached patch, it removes an assignment of a function parameter, which has no effect outside function.
Here is the patch:
Best regards and many thanks
Martin Ettl
The text was updated successfully, but these errors were encountered: