Fix some warnings from newer compilers

This commit is contained in:
Justin Maggard
2020-09-25 17:48:07 -07:00
committed by Justin Maggard
parent 9fba41008a
commit 9f1677825c
10 changed files with 35 additions and 22 deletions

View File

@@ -224,3 +224,11 @@ lav_is_thumbnail_stream(AVStream *s, uint8_t **data, int *size)
#endif
return 0;
}
static inline void
lav_register_all(void)
{
#if LIBAVFORMAT_VERSION_INT < ((58<<16)+(9<<8)+100)
av_register_all();
#endif
}