Allow to compile without ffmpeg

This commit is contained in:
Kamil Trzcinski
2022-04-07 23:17:06 +02:00
parent 386ad37b40
commit b57ca77132
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#ifdef USE_FFMPEG
#include <stdio.h>
#include <stdlib.h>
@ -330,3 +332,5 @@ void http_mp4_video(http_worker_t *worker, FILE *stream)
{
http_ffmpeg_video(worker, stream, "video/mp4", "mp4");
}
#endif // USE_FFMPEG