[FFmpeg-devel] [PATCH/FATESERVER] Fix querying of architecture for entries without subarch string

Timothy Gu timothygu99 at gmail.com
Tue Jun 10 01:08:54 CEST 2014


This fixes, for example, querying aarch64.

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 index.cgi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/index.cgi b/index.cgi
index d6a0a38..b51619a 100755
--- a/index.cgi
+++ b/index.cgi
@@ -47,14 +47,13 @@ for my $slot (@slots) {
     next if time - parse_date($$rep{date}) > $hidden_age;
 
     my $not_matched = 0;
-
+    $$rep{subarch} = $$rep{arch} if not $$rep{subarch};
     for my $this_query (@queries) {
         my ($type, $text) = split(/:/, $this_query, 2);
         $not_matched = 1 if ($$rep{$type} ne $text);
     }
     next if $not_matched;
 
-    $$rep{subarch} = $$rep{arch} if not $$rep{subarch};
     push @reps, $rep;
     if ($$rep{npass} == $$rep{ntests} and !$$rep{status}) {
         $allpass++;
-- 
1.9.1



More information about the ffmpeg-devel mailing list