diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-10-02 16:03:00 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-10-02 16:03:00 +0000 |
commit | fb65d2ca84d79fb1c5a5708555c23e1d289b5c92 (patch) | |
tree | 933cef560872486d2c23628aef5bfa37d0eaf315 /libavformat/asf.c | |
parent | 529dae12f786ed8840a8ccec75d66c7d27cdf9d9 (diff) | |
download | ffmpeg-fb65d2ca84d79fb1c5a5708555c23e1d289b5c92.tar.gz |
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r-- | libavformat/asf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index b837e76891..e8b9144609 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -197,7 +197,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) asf->hdr.max_bitrate = get_le32(pb); asf->packet_size = asf->hdr.max_pktsize; } else if (!memcmp(&g, &stream_header, sizeof(GUID))) { - int type, type_specific_size, sizeX; + enum CodecType type; + int type_specific_size, sizeX; uint64_t total_size; unsigned int tag1; int64_t pos1, pos2, start_time; |