Commit bdb4ec80 authored by cehoyos's avatar cehoyos

Use enum instead of integer types where appropriate.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20482 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 117a7237
...@@ -66,7 +66,7 @@ static int raw_write_packet(struct AVFormatContext *s, AVPacket *pkt) ...@@ -66,7 +66,7 @@ static int raw_write_packet(struct AVFormatContext *s, AVPacket *pkt)
static int raw_read_header(AVFormatContext *s, AVFormatParameters *ap) static int raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
{ {
AVStream *st; AVStream *st;
int id; enum CodecID id;
st = av_new_stream(s, 0); st = av_new_stream(s, 0);
if (!st) if (!st)
......
...@@ -75,7 +75,7 @@ int ff_rtmp_packet_read(URLContext *h, RTMPPacket *p, ...@@ -75,7 +75,7 @@ int ff_rtmp_packet_read(URLContext *h, RTMPPacket *p,
uint8_t hdr, t, buf[16]; uint8_t hdr, t, buf[16];
int channel_id, timestamp, data_size, offset = 0; int channel_id, timestamp, data_size, offset = 0;
uint32_t extra = 0; uint32_t extra = 0;
uint8_t type; enum RTMPPacketType type;
if (url_read(h, &hdr, 1) != 1) if (url_read(h, &hdr, 1) != 1)
return AVERROR(EIO); return AVERROR(EIO);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment