06_ffmpeg-abi.patch 1.3 KB

123456789101112131415161718192021222324252627282930
  1. Description: Surpress ffmpeg version mismatch error
  2. Requiring an exact ffmpeg version isn't helpful in a distribution where all ABI
  3. issues should already be handled by package dependencies. Rebuilding every time
  4. ffmpeg is updated is also completely unmaintainable.
  5. Author: James Cowgill <jcowgill@debian.org>
  6. Bug-Debian: https://bugs.debian.org/831537
  7. ---
  8. This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  9. --- a/player/main.c
  10. +++ b/player/main.c
  11. @@ -429,18 +429,6 @@ int mp_initialize(struct MPContext *mpct
  12. handle_deprecated_options(mpctx);
  13. - if (!print_libav_versions(mp_null_log, 0)) {
  14. - // Using mismatched libraries can be legitimate, but even then it's
  15. - // a bad idea. We don't acknowledge its usefulness and stability.
  16. - print_libav_versions(mpctx->log, MSGL_FATAL);
  17. - MP_FATAL(mpctx, "\nmpv was compiled against a different version of "
  18. - "FFmpeg/Libav than the shared\nlibrary it is linked against. "
  19. - "This is most likely a broken build and could\nresult in "
  20. - "misbehavior and crashes.\n\nmpv does not support this "
  21. - "configuration and will not run - rebuild mpv instead.\n");
  22. - return -1;
  23. - }
  24. -
  25. if (!mpctx->playlist->first && !opts->player_idle_mode)
  26. return -3;