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

Submitted by Stephan Holljes on Aug. 1, 2018, 11 p.m.

Details

Message ID 1533164424-12395-2-git-send-email-klaxa1337@googlemail.com
State New
Headers show

Commit Message

Stephan Holljes Aug. 1, 2018, 11 p.m.
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
---
 fileserver.c | 1 -
 fileserver.h | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

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