Closed Bug 1342842 Opened 7 years ago Closed 7 years ago

warning: No effect for `llabs(unsigned)` in MP4Metadata.cpp

Categories

(Core :: Audio/Video: Playback, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1342339

People

(Reporter: mozbugz, Assigned: ayang)

References

Details

6 new warnings introduced by bug 1340446, on Linux and Mac:
> Warning: -Wabsolute-value in media/libstagefright/binding/MP4Metadata.cpp: taking the absolute value of unsigned type 'unsigned long long' has no effect
> INFO -  media/libstagefright/binding/MP4Metadata.cpp:377:29: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
> INFO -        MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].start_composition - aDest[i].start_composition) <= 1);
> INFO -                              ^

Alfredo, could you please have a look when possible?
(In reply to Gerald Squelart [:gerald] from comment #0)
> 6 new warnings introduced by bug 1340446, on Linux and Mac:
> > Warning: -Wabsolute-value in media/libstagefright/binding/MP4Metadata.cpp: taking the absolute value of unsigned type 'unsigned long long' has no effect
> > INFO -  media/libstagefright/binding/MP4Metadata.cpp:377:29: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
> > INFO -        MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].start_composition - aDest[i].start_composition) <= 1);
> > INFO -                              ^
> 
> Alfredo, could you please have a look when possible?

Yes, it's on bug 1342339.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.