We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef67b7 commit d31f1e2Copy full SHA for d31f1e2
src/video_compress/libavcodec.cpp
@@ -456,7 +456,10 @@ void usage(bool full) {
456
<< "' to display encoder specific options/examples; works\nfor "
457
"decoders as well (use the keyword \"enc[oder]\", anyways).\n";
458
col() << "\n";
459
- col() << "Libavcodec version (linked): " << SBOLD(LIBAVCODEC_IDENT) << "\n";
+ const unsigned lavc_ver = avcodec_version();
460
+ color_printf("Libavcodec version (linked): " TBOLD("%d.%d.%d") "\n",
461
+ AV_VERSION_MAJOR(lavc_ver), AV_VERSION_MINOR(lavc_ver),
462
+ AV_VERSION_MICRO(lavc_ver));
463
const char *swscale = "no";
464
#ifdef HAVE_SWSCALE
465
swscale = "yes";
0 commit comments