avcodec/rmdec: add missing av_log argument

Also change the format specifier to expect an unsigned int

Signed-off-by: James Almer <jamrial@gmail.com>
pull/278/head
James Almer 9 years ago
parent b58cfa616c
commit e3c188e72c
  1. 2
      libavformat/rmdec.c

@ -1358,7 +1358,7 @@ static int ivr_read_packet(AVFormatContext *s, AVPacket *pkt)
avio_skip(pb, 4);
if (size < 1 || size > INT_MAX/4) {
av_log(s, AV_LOG_ERROR, "size %d is invalid\n");
av_log(s, AV_LOG_ERROR, "size %u is invalid\n", size);
return AVERROR_INVALIDDATA;
}

Loading…
Cancel
Save