[FFmpeg-devel] [PATCH]tests/api-flac-test: Rename NUMBER_OF_FRAMES as NUMBER_OF_AUDIO_FRAMES

Michael Niedermayer michael at niedermayer.cc
Tue Dec 4 03:57:23 EET 2018


On Mon, Dec 03, 2018 at 01:17:42AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Both aix and sunos define NUMBER_OF_FRAMES in a system header (as
> _NUMBER_OF_FRAMES), attached patch fixes a warning when running fate.
> 
> Please comment, Carl Eugen

>  api-flac-test.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 389d56ef407b6d7d7c8c023e6ebb41abbbd36a62  0001-tests-api-flac-test-Rename-NUMBER_OF_FRAMES-as-NUMBE.patch
> From 7360f2e9721b88bb58e55f05911b16222c249e59 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
> Date: Mon, 3 Dec 2018 01:14:24 +0100
> Subject: [PATCH] tests/api-flac-test: Rename NUMBER_OF_FRAMES as
>  NUMBER_OF_AUDIO_FRAMES.
> 
> Both sunos and aix define NUMBER_OF_FRAMES in a system header,
> causing redefinition warnings.
> ---
>  tests/api/api-flac-test.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

this is probably a bug in the system header ...

but renaming does no harm so this patch should be ok

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181204/4e7a43a3/attachment.sig>


More information about the ffmpeg-devel mailing list