From 4e81324362c3ddff0b9424a41387f8e380c792c6 Mon Sep 17 00:00:00 2001
From: ManojGuptaBonda <mbonda@nvidia.com>
Date: Thu, 23 Apr 2020 09:33:35 +0530
Subject: [PATCH] configure: enable ffnvcodec, nvenc, nvdec for aarch64

Adding the support to build FFMPEG with HW accelerated decode(nvdec) and
encode on aarch64 architecture.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 6533b43250..080d93a129 100755
--- a/configure
+++ b/configure
@@ -6675,7 +6675,7 @@ if enabled x86; then
             disable ffnvcodec cuvid nvdec nvenc
             ;;
     esac
-elif enabled ppc64 && ! enabled bigendian; then
+elif enabled_any aarch64 ppc64 && ! enabled bigendian; then
     case $target_os in
         linux)
             ;;