From f1fa42979d25ff2fe6b33887f91f627083093245 Mon Sep 17 00:00:00 2001 From: max_10 Date: Sun, 18 Mar 2018 01:21:50 +0100 Subject: [PATCH] container_ffmpeg: fix Write from incompatible pointer type Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/e3dd0e2b1c46e52d0915cf55e459d1e24da411a3 Author: max_10 Date: 2018-03-18 (Sun, 18 Mar 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3-arm/container/container_ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libeplayer3-arm/container/container_ffmpeg.c b/libeplayer3-arm/container/container_ffmpeg.c index a931176..5fec340 100644 --- a/libeplayer3-arm/container/container_ffmpeg.c +++ b/libeplayer3-arm/container/container_ffmpeg.c @@ -180,9 +180,9 @@ static void releaseMutex(const char *filename __attribute__((unused)), const con ffmpeg_printf(100, "::%d released mutex\n", line); } -typedef int32_t (* Write_FN)(void *, void *); +typedef int32_t (* Write_FN)(Context_t *context, void *); -static int32_t Write(Write_FN WriteFun, void *context, void *privateData) +static int32_t Write(Write_FN WriteFun, Context_t *context, void *privateData) { /* Because Write is blocking we will release mutex which protect * avformat structures, during write time