Add possibly missing include for av_rescale_q

pull/340/head
scrawl 10 years ago
parent b39d69e98c
commit 102103e37b

@ -25,6 +25,8 @@ extern "C"
#include <libavutil/time.h> #include <libavutil/time.h>
#endif #endif
#include <libavutil/mathematics.h>
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,28,1) #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,28,1)
#define av_frame_alloc avcodec_alloc_frame #define av_frame_alloc avcodec_alloc_frame
#endif #endif

Loading…
Cancel
Save