]> granicus.if.org Git - libvpx/commitdiff
Replace {} with continue
authorYaowu Xu <yaowu@google.com>
Mon, 17 Oct 2016 15:12:18 +0000 (08:12 -0700)
committerYaowu Xu <yaowu@google.com>
Mon, 17 Oct 2016 15:12:18 +0000 (08:12 -0700)
Change-Id: I2e939e898cc30c2999b47f2789191e08272b1cc0

examples/simple_encoder.c

index 73a4fde970d66957bfe3a319b4bd60d397fb75a3..418757def4d59814868afe895aceb2638c8dd666 100644 (file)
@@ -232,8 +232,7 @@ int main(int argc, char **argv) {
   }
 
   // Flush encoder.
-  while (encode_frame(&codec, NULL, -1, 0, writer)) {
-  }
+  while (encode_frame(&codec, NULL, -1, 0, writer)) continue;
 
   printf("\n");
   fclose(infile);