diff --git a/ffserver.c b/ffserver.c index 3563468338..41081c3975 100644 --- a/ffserver.c +++ b/ffserver.c @@ -37,7 +37,6 @@ #include "libavutil/avstring.h" #include "libavutil/lfg.h" #include "libavutil/random_seed.h" -#include "libavutil/intreadwrite.h" #include "libavcodec/opt.h" #include #include @@ -4255,7 +4254,7 @@ static int parse_ffconfig(const char *filename) } else if (!strcasecmp(cmd, "VideoTag")) { get_arg(arg, sizeof(arg), &p); if ((strlen(arg) == 4) && stream) - video_enc.codec_tag = AV_RL32(arg); + video_enc.codec_tag = MKTAG(arg[0], arg[1], arg[2], arg[3]); } else if (!strcasecmp(cmd, "BitExact")) { if (stream) video_enc.flags |= CODEC_FLAG_BITEXACT;