[FFmpeg-devel] [PATCH v2 1/2] fftools/resman: remove unused includes, fix declaration
softworkz .
softworkz at hotmail.com
Mon Jun 2 04:42:42 EEST 2025
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Michael
> Niedermayer
> Sent: Montag, 2. Juni 2025 03:28
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v2 1/2] fftools/resman: remove unused
> includes, fix declaration
>
> Hi softworkz
>
> On Sat, May 31, 2025 at 03:58:44AM +0000, softworkz wrote:
> > From: softworkz <softworkz at hotmail.com>
> >
> > Signed-off-by: softworkz <softworkz at hotmail.com>
> > ---
> > fftools/resources/resman.c | 7 +++----
> > fftools/resources/resman.h | 10 +---------
> > 2 files changed, 4 insertions(+), 13 deletions(-)
>
> seems to breaks build
>
> fftools/resources/resman.c:60:8: error: unknown type name ‘AVMutex’
> 60 | static AVMutex mutex = AV_MUTEX_INITIALIZER;
> | ^~~~~~~
> fftools/resources/resman.c:60:24: error: ‘AV_MUTEX_INITIALIZER’ undeclared
> here (not in a function)
> 60 | static AVMutex mutex = AV_MUTEX_INITIALIZER;
> | ^~~~~~~~~~~~~~~~~~~~
> fftools/resources/resman.c: In function ‘get_resman_context’:
> fftools/resources/resman.c:123:5: error: implicit declaration of function
> ‘ff_mutex_lock’ [-Werror=implicit-function-declaration]
> 123 | ff_mutex_lock(&mutex);
> | ^~~~~~~~~~~~~
> fftools/resources/resman.c:138:5: error: implicit declaration of function
> ‘ff_mutex_unlock’ [-Werror=implicit-function-declaration]
> 138 | ff_mutex_unlock(&mutex);
> | ^~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make: *** [ffbuild/common.mak:81: fftools/resources/resman.o] Error 1
> make: *** Waiting for unfinished jobs....
>
>
> [...]
> --
Thanks!
Seems it got broken due to changes in master. On submission,
all builds were successful:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/4d7af186ce9f8a8d3b12cdc2c979ea54320eed96.1748663925.git.ffmpegagent@gmail.com/
Will post an update.
Thanks
sw
More information about the ffmpeg-devel
mailing list