diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-11-08 23:48:15 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-11-08 23:48:15 +0000 |
commit | 0f87b77176e0ff347170d5aaa46c7b2a6253a702 (patch) | |
tree | 2e0970b0faa7e7d980a7ba0ddcd129eb5681a4d2 /libavformat/rtmppkt.c | |
parent | 80454494dea444a4de8950fb1f8f76c30a9f34b2 (diff) | |
download | ffmpeg-0f87b77176e0ff347170d5aaa46c7b2a6253a702.tar.gz |
Use enum instead of integer types where appropriate.
Originally committed as revision 20482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r-- | libavformat/rtmppkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |