X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmlvdec.c;h=ded8196af23776c628295d03024a2ca0e00d538a;hb=50ae1f7e0ff1fa00236622415039f7e28d919a25;hp=d387c871ee9538428517be1b423ef9c5c8c817c8;hpb=0cf9fa99242a1f694e2ea3b35a450974774f56cc;p=ffmpeg diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index d387c871ee9..ded8196af23 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -77,7 +77,7 @@ static int check_file_header(AVIOContext *pb, uint64_t guid) return 0; } -static void read_string(AVFormatContext *avctx, AVIOContext *pb, const char *tag, int size) +static void read_string(AVFormatContext *avctx, AVIOContext *pb, const char *tag, unsigned size) { char * value = av_malloc(size + 1); if (!value) {