[FFmpeg-devel] Invalid comparison of enum RTSPStatusCode in macro

anshul anshul.ffmpeg at gmail.com
Tue Apr 8 12:09:54 CEST 2014


While converting error code to string, we compare for error_code >= 0,
since many system define enum as unsigned integer so this condition does 
not make any sense.
every thing is going to be greater than 0.

for system where enum's are defined as signed intiger we can check for 
error_code >= 100.
100 is minimum number in the error code.

There is an patch attached

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Inavlid-comparison-of-enum-for-error.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140408/020209ce/attachment.bin>

More information about the ffmpeg-devel mailing list