[FFmpeg-devel] [PATCH 1/3] ffserver: drop FeedData, its unused

Michael Niedermayer michael at niedermayer.cc
Sun Nov 27 20:06:18 EET 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 ffserver.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/ffserver.c b/ffserver.c
index d40fe80..6b8eb2c 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -187,11 +187,6 @@ typedef struct HTTPContext {
     uint8_t *packet_buffer, *packet_buffer_ptr, *packet_buffer_end;
 } HTTPContext;
 
-typedef struct FeedData {
-    long long data_count;
-    float avg_frame_size;   /* frame size averaged over last frames with exponential mean */
-} FeedData;
-
 static HTTPContext *first_http_ctx;
 
 static FFServerConfig config = {
@@ -3533,7 +3528,6 @@ static AVStream *add_av_stream1(FFServerStream *stream,
          */
         fst->codec = codec;
 
-    fst->priv_data = av_mallocz(sizeof(FeedData));
     fst->internal = av_mallocz(sizeof(*fst->internal));
     fst->internal->avctx = avcodec_alloc_context3(NULL);
     fst->codecpar = avcodec_parameters_alloc();
-- 
2.10.2



More information about the ffmpeg-devel mailing list