Mercurial > libavformat.hg
diff rtsp.c @ 3967:4fd67f05bad9 libavformat
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Petten: flameeyes gmail
author | benoit |
---|---|
date | Thu, 02 Oct 2008 16:03:00 +0000 |
parents | 4a3372240319 |
children | 44561554cb7e |
line wrap: on
line diff
--- a/rtsp.c Thu Oct 02 15:52:04 2008 +0000 +++ b/rtsp.c Thu Oct 02 16:03:00 2008 +0000 @@ -389,7 +389,8 @@ RTSPState *rt = s->priv_data; char buf1[64], st_type[64]; const char *p; - int codec_type, payload_type, i; + enum CodecType codec_type; + int payload_type, i; AVStream *st; RTSPStream *rtsp_st; struct in_addr sdp_ip;