diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-10-02 16:03:00 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-10-02 16:03:00 +0000 |
commit | fb65d2ca84d79fb1c5a5708555c23e1d289b5c92 (patch) | |
tree | 933cef560872486d2c23628aef5bfa37d0eaf315 /libavformat/rtsp.c | |
parent | 529dae12f786ed8840a8ccec75d66c7d27cdf9d9 (diff) | |
download | ffmpeg-fb65d2ca84d79fb1c5a5708555c23e1d289b5c92.tar.gz |
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index b1fafedf01..413aadde95 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -389,7 +389,8 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1, 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; |