ffserver: Throw ffm.h out its not used except for a constant that is part of the...
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Oct 2016 16:36:53 +0000 (18:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 7 Nov 2016 18:27:40 +0000 (19:27 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffserver.c
ffserver_config.c
ffserver_config.h

index cfb1a6c..c16f8aa 100644 (file)
@@ -32,7 +32,6 @@
 #include <stdio.h>
 #include "libavformat/avformat.h"
 /* FIXME: those are internal headers, ffserver _really_ shouldn't use them */
-#include "libavformat/ffm.h"
 #include "libavformat/rtpproto.h"
 #include "libavformat/rtsp.h"
 #include "libavformat/avio_internal.h"
index 0ec93b5..99709b5 100644 (file)
@@ -25,9 +25,6 @@
 #include "libavutil/pixdesc.h"
 #include "libavutil/avassert.h"
 
-// FIXME those are internal headers, ffserver _really_ shouldn't use them
-#include "libavformat/ffm.h"
-
 #include "cmdutils.h"
 #include "ffserver_config.h"
 
index 1b12194..0bd4cfc 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef FFSERVER_CONFIG_H
 #define FFSERVER_CONFIG_H
 
+#define FFM_PACKET_SIZE 4096
+
 #include "libavutil/dict.h"
 #include "libavformat/avformat.h"
 #include "libavformat/network.h"