[FFmpeg-devel] [PATCH]tests/api-flac-test: Rename NUMBER_OF_FRAMES as NUMBER_OF_AUDIO_FRAMES
Carl Eugen Hoyos
ceffmpeg at gmail.com
Tue Dec 11 20:15:14 EET 2018
2018-12-04 2:57 GMT+01:00, Michael Niedermayer <michael at niedermayer.cc>:
> 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
Patch applied.
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list