X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fmlvdec.c;h=ded8196af23776c628295d03024a2ca0e00d538a;hb=517573a67088b5c7a25c18373434e3448892ee93;hp=d387c871ee9538428517be1b423ef9c5c8c817c8;hpb=b065c71e9d2ad3c5d65f924a4003e3a7ee595417;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) {