Cleanup: Resolve unused function warnings without ffmpeg

This commit is contained in:
Hans Goudey
2024-12-23 15:22:51 -05:00
parent a7c39896c6
commit e315816dc5

View File

@@ -49,6 +49,8 @@ static const float proxy_fac[] = {0.25, 0.50, 0.75, 1.00};
* - time code index functions
* ---------------------------------------------------------------------- */
#ifdef WITH_FFMPEG
struct MovieIndexBuilder {
FILE *fp;
char filepath[FILE_MAX];
@@ -111,6 +113,8 @@ static void index_builder_finish(MovieIndexBuilder *fp, bool rollback)
MEM_freeN(fp);
}
#endif
static MovieIndex *movie_index_open(const char *filepath)
{
FILE *fp = BLI_fopen(filepath, "rb");