From 0f87b77176e0ff347170d5aaa46c7b2a6253a702 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 8 Nov 2009 23:48:15 +0000 Subject: Use enum instead of integer types where appropriate. Originally committed as revision 20482 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtmppkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtmppkt.c') diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index f6e2a9024e..e1f0647fbb 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -75,7 +75,7 @@ int ff_rtmp_packet_read(URLContext *h, RTMPPacket *p, uint8_t hdr, t, buf[16]; int channel_id, timestamp, data_size, offset = 0; uint32_t extra = 0; - uint8_t type; + enum RTMPPacketType type; if (url_read(h, &hdr, 1) != 1) return AVERROR(EIO); -- cgit v1.2.3