vdr-osdpip-0.1.1-ffmpeg-1.patch 856 B

123456789101112131415161718192021222324252627
  1. Index: osdpip-0.1.1/decoder.h
  2. ===================================================================
  3. --- osdpip-0.1.1.orig/decoder.h
  4. +++ osdpip-0.1.1/decoder.h
  5. @@ -34,7 +34,7 @@ extern "C"
  6. #include <libavcodec/avcodec.h>
  7. #ifdef USE_SWSCALE
  8. #include <libswscale/swscale.h>
  9. - #include <libavcodec/opt.h>
  10. + #include <libavutil/opt.h>
  11. #endif
  12. #else
  13. #include <ffmpeg/avcodec.h>
  14. Index: osdpip-0.1.1/osdpip.c
  15. ===================================================================
  16. --- osdpip-0.1.1.orig/osdpip.c
  17. +++ osdpip-0.1.1/osdpip.c
  18. @@ -73,8 +73,6 @@ bool cPluginOsdpip::ProcessArgs(int argc
  19. bool cPluginOsdpip::Initialize(void)
  20. {
  21. - // must be called before using avcodec lib
  22. - avcodec_init();
  23. // register all the codecs (you can also register only the codec
  24. // you wish to have smaller code)
  25. avcodec_register_all();