[vlc-devel] [PATCH 10/12] contribs: ffmpeg/libav: Properly pass NM/AR env variables

Rémi Denis-Courmont remi at remlab.net
Fri Oct 24 16:33:28 CEST 2014


Le 2014-10-23 15:11, Hugo Beauzee-Luyssen a écrit :
> On 10/23/2014 01:38 PM, Rémi Denis-Courmont wrote:
>> Le 2014-10-23 13:17, Hugo Beauzée-Luyssen a écrit :
>>> ---
>>>  contrib/src/ffmpeg/rules.mak | 8 ++++++++
>>>  1 file changed, 8 insertions(+)
>>>
>>> diff --git a/contrib/src/ffmpeg/rules.mak 
>>> b/contrib/src/ffmpeg/rules.mak
>>> index 9712478..18ffe02 100644
>>> --- a/contrib/src/ffmpeg/rules.mak
>>> +++ b/contrib/src/ffmpeg/rules.mak
>>> @@ -163,6 +163,14 @@ ifeq ($(call need_pkg,"libavcodec >= 54.25.0
>>> libavformat >= 53.21.0 libswscale")
>>>  PKGS_FOUND += ffmpeg
>>>  endif
>>>
>>> +ifdef NM
>>> +FFMPEGCONF += --nm="$(NM)"
>>> +endif
>>> +
>>> +ifdef AR
>>> +FFMPEGCONF += --ar="$(AR)"
>>> +endif
>>
>> How can AR or NM be undefined?
>
> I must say I don't see why it would have to be

I don't understand what you mean there, but AR and NM are both always 
defined AFAICT.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list