avformat/internal: add missing __clang__ check
Clang x86_64-pc-windows-msvc doesn't define __GNUC__. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
43dc443446
commit
26807592e1
@ -354,7 +354,7 @@ static av_always_inline const FFStream *cffstream(const AVStream *st)
|
||||
return (const FFStream*)st;
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined (__GNUC__) || defined (__clang__)
|
||||
#define dynarray_add(tab, nb_ptr, elem)\
|
||||
do {\
|
||||
__typeof__(tab) _tab = (tab);\
|
||||
|
Loading…
x
Reference in New Issue
Block a user