diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-27 17:10:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-28 22:45:05 +0100 |
commit | c8b24a685ac5e8b21877063c211339558a59eb82 (patch) | |
tree | 0e9808c15dc39fcd573f8aa2ed0f242d4f14d97f /ffserver.c | |
parent | 319a7c5deae5ab3525860a28e013625a6c538c2a (diff) | |
download | ffmpeg-c8b24a685ac5e8b21877063c211339558a59eb82.tar.gz |
ffserver: drop FeedData, its unused
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ffserver.c b/ffserver.c index d40fe802db..6b8eb2c41e 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(); |