On Thu, 06 Jul 2006 09:17:06 JST
[EMAIL PROTECTED] (Andrew Church) wrote:
> I just glanced at this, but isn't the following line from the patch
> wrong? I'm pretty sure this should be #if, not #ifdef...
> >+#ifdef LIBAVCODEC_BUILD >= 3344640
The funny thig is that proposed version already works as expected :)
OK, corrected version attached. HEAD will be updated too very soon.
Best regards,
--
Francesco Romani - Ikitt ['people always complain, no matther what you do']
IM contact : (email first, Antispam default deny!) icq://27-83-87-867
known bugs : http://www.transcoding.org/cgi-bin/transcode?Bug_Showcase
tiny homepage : http://fromani.exit1.org (see IDEAS if you want send code!)
--- configure.orig 2006-06-27 22:41:13.000000000 +0200
+++ configure 2006-06-27 22:42:12.000000000 +0200
@@ -28107,7 +28107,12 @@
printf("install ffmpeg 0.4.9-pre1 or newer, or a cvs version after 20040703");
return(1);
}
+ /* 3344640 == ((51<<16)+(9<<8)+0) == 51.9.0 */
+#if LIBAVCODEC_BUILD >= 3344640
+ printf("VER=%s\n", AV_STRINGIFY(LIBAVCODEC_VERSION));
+#else
printf("VER=%s\n", FFMPEG_VERSION);
+#endif /* LIBAVCODEC_BUILD >= 51.9.0 check */
printf("BUILD=%d\n", LIBAVCODEC_BUILD);
return(0);
}