# HG changeset patch # User cehoyos # Date 1257724095 0 # Node ID a00cc1aac80d23cd12c405030f408ce742ebfe8a # Parent 16a2de6da57e6a5a20deabc06fe156b3d786b0a6 Use enum instead of integer types where appropriate. diff -r 16a2de6da57e -r a00cc1aac80d raw.c --- a/raw.c Sun Nov 08 23:46:32 2009 +0000 +++ b/raw.c Sun Nov 08 23:48:15 2009 +0000 @@ -66,7 +66,7 @@ static int raw_read_header(AVFormatContext *s, AVFormatParameters *ap) { AVStream *st; - int id; + enum CodecID id; st = av_new_stream(s, 0); if (!st) diff -r 16a2de6da57e -r a00cc1aac80d rtmppkt.c --- a/rtmppkt.c Sun Nov 08 23:46:32 2009 +0000 +++ b/rtmppkt.c Sun Nov 08 23:48:15 2009 +0000 @@ -75,7 +75,7 @@ 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);