diff options
author | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:47:39 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:47:39 +0000 |
commit | 191e8ca75279073699e0c0f25128b2b2088d1cbb (patch) | |
tree | 7c9089d9008566884d42bad2f3294eb318a0e5d9 /libavformat/avienc.c | |
parent | d80f243ae996ced4bce81b12ada3af7803ce36f0 (diff) | |
download | ffmpeg-streaming-191e8ca75279073699e0c0f25128b2b2088d1cbb.zip ffmpeg-streaming-191e8ca75279073699e0c0f25128b2b2088d1cbb.tar.gz |
fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index d8e9dde..83201d3 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -73,8 +73,7 @@ static offset_t avi_start_new_riff(AVIContext *avi, ByteIOContext *pb, return loff; } -static unsigned char* avi_stream2fourcc(unsigned char* tag, int index, - enum CodecType type) +static char* avi_stream2fourcc(char* tag, int index, enum CodecType type) { tag[0] = '0'; tag[1] = '0' + index; @@ -338,8 +337,8 @@ static int avi_write_ix(AVFormatContext *s) { ByteIOContext *pb = &s->pb; AVIContext *avi = s->priv_data; - unsigned char tag[5]; - unsigned char ix_tag[] = "ix00"; + char tag[5]; + char ix_tag[] = "ix00"; int i, j; assert(!url_is_streamed(pb)); @@ -397,7 +396,7 @@ static int avi_write_idx1(AVFormatContext *s) AVIContext *avi = s->priv_data; offset_t idx_chunk; int i; - unsigned char tag[5]; + char tag[5]; if (!url_is_streamed(pb)) { AVIIentry* ie = 0, *tie; |