From c154a37bbfa962d436503b0b6337489a113b014c Mon Sep 17 00:00:00 2001 From: BPanther Date: Sat, 19 Jul 2025 09:44:52 +0200 Subject: [PATCH] small fix Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/2b2db522faed0695b659f1c9b80e1e28381f3024 Author: BPanther Date: 2025-07-19 (Sat, 19 Jul 2025) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3/container/container_ffmpeg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index ccf375d..5b70300 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -61,7 +61,7 @@ * due to this we set own which use fopen/fread from * std library. */ -#define USE_CUSTOM_IO +#define USE_CUSTOM_IO 1 /* Error Constants */ #define cERR_CONTAINER_FFMPEG_NO_ERROR 0 @@ -93,7 +93,9 @@ static pthread_t PlayThread; static int32_t hasPlayThreadStarted = 0; static AVFormatContext *avContextTab[IPTV_AV_CONTEXT_MAX_NUM] = {NULL, NULL}; +#ifdef USE_CUSTOM_IO static int32_t use_custom_io[IPTV_AV_CONTEXT_MAX_NUM] = {0, 0}; +#endif static AVDictionary *g_avio_opts = NULL; static int64_t latestPts = 0;