From 8e23cdbad7e922db7fd64cafd359591505b04a73 Mon Sep 17 00:00:00 2001 From: martii Date: Fri, 22 Nov 2013 18:08:00 +0100 Subject: [PATCH] libeplayer3/ffmpeg: minor cleanup --- libeplayer3/container/container_ffmpeg.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index 8694e33..becf15f 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -101,20 +101,14 @@ static const char *FILENAME = "container_ffmpeg.c"; static pthread_t PlayThread; static int hasPlayThreadStarted = 0; - static AVFormatContext *avContext = NULL; - static unsigned char isContainerRunning = 0; - static long long int latestPts = 0; - -float seek_sec_abs = -1.0, seek_sec_rel = 0.0; +static float seek_sec_abs = -1.0, seek_sec_rel = 0.0; /* ***************************** */ /* Prototypes */ /* ***************************** */ -static int container_ffmpeg_seek(Context_t * context, float sec, - int absolute); /* ***************************** */ /* MISC Functions */