shithub: libvpx

Download patch

ref: 7690d88deb1841bb0fc0644d17aa43a5d03192cf
parent: aaea40d847f6150bb2227f3fb460ad48ac0977ae
author: James Zern <[email protected]>
date: Fri Aug 22 14:01:28 EDT 2014

vpxdec: fix --keep-going with --disable-vp8

the parsing of this flag was mistakenly put in a CONFIG_VP8_DECODER
conditional block in:
95853db vpxdec: add --keep-going option

Change-Id: Ie83ca0399fd3f3d4b0a9d03b7ca5536b310e1f02

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -599,7 +599,8 @@
       do_scale = 1;
     else if (arg_match(&arg, &fb_arg, argi))
       num_external_frame_buffers = arg_parse_uint(&arg);
-
+    else if (arg_match(&arg, &continuearg, argi))
+      keep_going = 1;
 #if CONFIG_VP8_DECODER
     else if (arg_match(&arg, &addnoise_level, argi)) {
       postproc = 1;
@@ -649,11 +650,8 @@
       }
     } else if (arg_match(&arg, &error_concealment, argi)) {
       ec_enabled = 1;
-    } else if (arg_match(&arg, &continuearg, argi)) {
-      keep_going = 1;
     }
-
-#endif
+#endif  // CONFIG_VP8_DECODER
     else
       argj++;
   }