Package list squeezelite / df4fa98
fix debug messages for ffmpeg library versions Adrian Smith 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
596596 }
597597
598598 ff->avcodec_v = ff->avcodec_version();
599 LOG_INFO("loaded "LIBAVCODEC" (%u.%u.%u)", ff->avcodec_v >> 16, (ff->avcodec_v >> 8) & 0xff, ff->avcodec_v & 0xff);
599 LOG_INFO("loaded "LIBAVCODEC" (%u.%u.%u)", LIBAVCODEC_VERSION_MAJOR, ff->avcodec_v >> 16, (ff->avcodec_v >> 8) & 0xff, ff->avcodec_v & 0xff);
600600
601601 ff->avformat_version = dlsym(handle_format, "avformat_version");
602602 ff->avformat_alloc_context = dlsym(handle_format, "avformat_alloc_context");
616616 }
617617
618618 ff->avformat_v = ff->avformat_version();
619 LOG_INFO("loaded "LIBAVFORMAT" (%u.%u.%u)", ff->avformat_v >> 16, (ff->avformat_v >> 8) & 0xff, ff->avformat_v & 0xff);
619 LOG_INFO("loaded "LIBAVFORMAT" (%u.%u.%u)", LIBAVFORMAT_VERSION_MAJOR, ff->avformat_v >> 16, (ff->avformat_v >> 8) & 0xff, ff->avformat_v & 0xff);
620620
621621 ff->avutil_version = dlsym(handle_util, "avutil_version");
622622 ff->av_log_set_callback = dlsym(handle_util, "av_log_set_callback");
631631 }
632632
633633 ff->avutil_v = ff->avutil_version();
634 LOG_INFO("loaded "LIBAVUTIL" (%u.%u.%u)", ff->avutil_v >> 16, (ff->avutil_v >> 8) & 0xff, ff->avutil_v & 0xff);
634 LOG_INFO("loaded "LIBAVUTIL" (%u.%u.%u)", LIBAVUTIL_VERSION_MAJOR, ff->avutil_v >> 16, (ff->avutil_v >> 8) & 0xff, ff->avutil_v & 0xff);
635635
636636 return true;
637637 }