forked from bartvdbraak/blender
Fix for building without ffmpeg
This commit is contained in:
parent
f2bd6d73e6
commit
69e96509a6
@ -1432,8 +1432,13 @@ bool IMB_anim_get_fps(struct anim *anim,
|
||||
if (anim->frs_sec) {
|
||||
*frs_sec = anim->frs_sec;
|
||||
*frs_sec_base = anim->frs_sec_base;
|
||||
if (no_av_base)
|
||||
#ifdef WITH_FFMPEG
|
||||
if (no_av_base) {
|
||||
*frs_sec_base /= AV_TIME_BASE;
|
||||
}
|
||||
#else
|
||||
UNUSED_VARS(no_av_base);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user