efb5b618.patch 894 B

1234567891011121314151617181920212223
  1. From efb5b618f1c1471c1a7900aed3a59d851ea9a210 Mon Sep 17 00:00:00 2001
  2. From: Paul Jonkins <paul.ionkin@gmail.com>
  3. Date: Wed, 23 Jun 2021 17:53:55 +0200
  4. Subject: [PATCH] Constify AVCodec
  5. ---
  6. libffmpegthumbnailer/moviedecoder.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/libffmpegthumbnailer/moviedecoder.h b/libffmpegthumbnailer/moviedecoder.h
  9. index 3ef5f12..fb6add2 100644
  10. --- a/libffmpegthumbnailer/moviedecoder.h
  11. +++ b/libffmpegthumbnailer/moviedecoder.h
  12. @@ -78,7 +78,7 @@ class MovieDecoder
  13. int m_VideoStream;
  14. AVFormatContext* m_pFormatContext;
  15. AVCodecContext* m_pVideoCodecContext;
  16. - AVCodec* m_pVideoCodec;
  17. + const AVCodec* m_pVideoCodec;
  18. AVFilterGraph* m_pFilterGraph;
  19. AVFilterContext* m_pFilterSource;
  20. AVFilterContext* m_pFilterSink;