openbsd-ports/graphics/ffmpeg/patches/patch-libavcodec_lcl_c
naddy d17cf576bc - update ffmpeg to snapshot 20050130
- remove inter-library dependencies
- chase fallout in dependent ports

From: Jacob Meuser <jakemsr@jakemsr.com>
2005-02-09 23:41:42 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-libavcodec_lcl_c,v 1.2 2005/02/09 23:41:43 naddy Exp $
--- libavcodec/lcl.c.orig Sun Jan 23 10:09:06 2005
+++ libavcodec/lcl.c Fri Jan 28 00:15:49 2005
@@ -297,7 +297,7 @@ static int decode_frame(AVCodecContext *
return -1;
}
if (mthread_outlen != (unsigned int)(c->zstream.total_out)) {
- av_log(avctx, AV_LOG_ERROR, "Mthread1 decoded size differs (%u != %lu)\n",
+ av_log(avctx, AV_LOG_ERROR, "Mthread1 decoded size differs (%u != %lld)\n",
mthread_outlen, c->zstream.total_out);
return -1;
}
@@ -331,7 +331,7 @@ static int decode_frame(AVCodecContext *
return -1;
}
if (c->decomp_size != (unsigned int)(c->zstream.total_out)) {
- av_log(avctx, AV_LOG_ERROR, "Decoded size differs (%d != %lu)\n",
+ av_log(avctx, AV_LOG_ERROR, "Decoded size differs (%d != %lld)\n",
c->decomp_size, c->zstream.total_out);
return -1;
}