You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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:
committed by
Reynaldo H. Verdejo Pinochet
parent
358f9ae639
commit
5b30f27592
@@ -120,7 +120,7 @@ static const av_unused char *rtsp_status_strings[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define RTSP_STATUS_CODE2STRING(x) (\
|
#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
|
)? rtsp_status_strings[x] : NULL
|
||||||
|
|
||||||
enum RTSPMethod {
|
enum RTSPMethod {
|
||||||
|
Reference in New Issue
Block a user