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:
Anshul Maheshwari 2014-04-08 15:31:29 +05:30 committed by Reynaldo H. Verdejo Pinochet
parent 358f9ae639
commit 5b30f27592

View File

@ -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 {