diff rtmppkt.c @ 5360:a00cc1aac80d libavformat

Use enum instead of integer types where appropriate.
author cehoyos
date Sun, 08 Nov 2009 23:48:15 +0000
parents 53688cb639b0
children c22a1e94e80f
line wrap: on
line diff
--- 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);