Red Hat Bugzilla – Bug 162141
2 * operation is undefined
Last modified: 2013-10-20 18:41:07 EDT
Description of problem:
I just tried to compile package gstreamer-plugins-0.8.8-6 from Redhat
Fedora Core development tree with the gcc 4.0.0 compiler and
the compiler flag -Wall.
The compiler said
sndfile.cpp:1178: warning: operation on 'pSample' may be undefined
The source code is
*pSample++ = bswapLE16(*pSample);
I agree with the compiler. Suggest better code
*pSample = bswapLE16(*pSample);
sndfile.cpp:1369: warning: operation on 'pSampleW' may be undefined
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Thanks for the report. Can you create a patch and attach it here and also send
>Can you create a patch
I could, but since I have no way to test it, then
it would be a risky patch.
Suggest forward bug report to upstream developers,
who are in a much better position to accurately
patch and test.
GStreamer 0.8 series is long dead, and there doesn't seem to be any such plugins
anymore, so closing.