[FFmpeg-devel] Invalid comparison of enum RTSPStatusCode in macro
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...
Size: 806 bytes
Desc: not available
More information about the ffmpeg-devel