Browse Source

faad: simplify PCA patch decision

The FAAD2_VIDEOLAN_PATCHED define doesn't exist anymore in our repository.
We only need to know about any version that's older than 2.10.1.
pull/199/head
Steve Lhomme 6 months ago
parent
commit
f431ac1b58
  1. 6
      modules/codec/faad.c

6
modules/codec/faad.c

@ -45,16 +45,12 @@
#include <faad.h>
#if !defined(FAAD2_VERSION) // FAAD2_VERSION added in 2.10.1
# define FAAD2_VERSION_OLDER_THAN_2101
# define PATCH_PCA
#endif
#include <neaacdec.h>
#include "../packetizer/mpeg4audio.h"
#if defined(FAAD2_VERSION_OLDER_THAN_2101) && !defined(FAAD2_VIDEOLAN_PATCHED)
# define PATCH_PCA
#endif
/*****************************************************************************
* Module descriptor
*****************************************************************************/

Loading…
Cancel
Save