mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
rtspcodes: don't check for >0 on error codes macro
Avoids a warning with gcc 4.7 and -Wtype-limits. Albeit superfluous (At least gcc 4.8 didnt consider this been a problem). Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
This commit is contained in:
parent
358f9ae639
commit
5b30f27592
@ -120,7 +120,7 @@ static const av_unused char *rtsp_status_strings[] = {
|
||||
};
|
||||
|
||||
#define RTSP_STATUS_CODE2STRING(x) (\
|
||||
x >= 0 && x < FF_ARRAY_ELEMS(rtsp_status_strings) && rtsp_status_strings[x] \
|
||||
x >= 100 && x < FF_ARRAY_ELEMS(rtsp_status_strings) && rtsp_status_strings[x] \
|
||||
)? rtsp_status_strings[x] : NULL
|
||||
|
||||
enum RTSPMethod {
|
||||
|
Loading…
Reference in New Issue
Block a user