You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
444 B

11 years ago
  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. }