Bug 162141

Summary: 2 * operation is undefined
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: gstreamer-pluginsAssignee: Monty <cmontgom>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, kem
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-01 14:07:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2005-06-30 10:01:26 UTC
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

1.

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);
	++pSample;

2.

sndfile.cpp:1369: warning: operation on 'pSampleW' may be undefined

Duplicate.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 John (J5) Palmieri 2005-06-30 14:18:27 UTC
Thanks for the report.  Can you create a patch and attach it here and also send
it upstream.

Comment 2 David Binderman 2005-07-01 08:15:51 UTC
>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.

Comment 3 Bastien Nocera 2007-02-01 14:07:44 UTC
GStreamer 0.8 series is long dead, and there doesn't seem to be any such plugins
anymore, so closing.