aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-07 22:18:30 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-07 22:18:30 +0000
commitacd0026c0b7ee0f73339ab3b71b34b3b513ee0de (patch)
tree47d69c2ada6dd4ae5a93493800d55dc9853d8055
parent166621ab7217170dad9a90da3236c610c6a3f88d (diff)
downloadffmpeg-acd0026c0b7ee0f73339ab3b71b34b3b513ee0de.tar.gz
ffserver: do not use intreadwrite.h
intreadwrite.h is not part of the public API and should thus not be used by the ff* applications. Originally committed as revision 22293 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffserver.c3
1 files changed, 1 insertions, 2 deletions
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 <stdarg.h>
#include <unistd.h>
@@ -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;