1
0

010-libav-fix.patch 444 B

12345678910111213141516171819
  1. --- a/libav.h
  2. +++ b/libav.h
  3. @@ -167,7 +167,7 @@
  4. static inline int
  5. lav_is_thumbnail_stream(AVStream *s, uint8_t **data, int *size)
  6. {
  7. -#if LIBAVFORMAT_VERSION_INT >= ((54<<16)+(6<<8))
  8. +/*if LIBAVFORMAT_VERSION_INT >= ((54<<16)+(6<<8))
  9. if (s->disposition & AV_DISPOSITION_ATTACHED_PIC &&
  10. s->codec->codec_id == AV_CODEC_ID_MJPEG)
  11. {
  12. @@ -177,6 +177,6 @@
  13. *size = s->attached_pic.size;
  14. return 1;
  15. }
  16. -#endif
  17. +endif*/
  18. return 0;
  19. }