[FFmpeg-cvslog] r22293 - trunk/ffserver.c

mru subversion
Sun Mar 7 23:18:30 CET 2010


Author: mru
Date: Sun Mar  7 23:18:30 2010
New Revision: 22293

Log:
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.

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	Sun Mar  7 22:56:48 2010	(r22292)
+++ trunk/ffserver.c	Sun Mar  7 23:18:30 2010	(r22293)
@@ -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 *fi
         } 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;



More information about the ffmpeg-cvslog mailing list