[FFmpeg-devel] [PATCH 1/7] fileserver.c/.h: Fix fileserver_schedule()

Stephan Holljes klaxa1337 at googlemail.com
Thu Aug 2 02:00:18 EEST 2018


Signed-off-by: Stephan Holljes <klaxa1337 at googlemail.com>
---
 fileserver.c | 1 -
 fileserver.h | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/fileserver.c b/fileserver.c
index a3460e3..d2f8c7f 100644
--- a/fileserver.c
+++ b/fileserver.c
@@ -49,7 +49,6 @@ void fileserver_schedule(struct FileserverContext *fs, struct FFServerInfo *ffin
             fsc->buf = NULL;
             fsc->size = 0;
         }
-        fsc->ofmt_ctx = ofmt_ctx;
         pthread_mutex_unlock(&fsc->client_lock);
     } else {
         av_log(NULL, AV_LOG_WARNING, "Could not find free client slot.\n");
diff --git a/fileserver.h b/fileserver.h
index 6e449c0..bb4893c 100644
--- a/fileserver.h
+++ b/fileserver.h
@@ -45,7 +45,7 @@ struct FileserverContext {
  * @param ffinfo pointer to an FFServerInfo struct containing information for serving the file
  * @param filename filename of the file to serve
  */
-void fileserver_schedule(struct FileserverContext *fs, struct FFServerInfo *ffinfo, AVIOContext *ofmt_ctx, const char *filename);
+void fileserver_schedule(struct FileserverContext *fs, struct FFServerInfo *ffinfo, const char *filename);
 
 /**
  * Initialize a Fileservercontext
-- 
2.1.4



More information about the ffmpeg-devel mailing list