diff --git a/examples/simple_encoder.c b/examples/simple_encoder.c index 73a4fde97..418757def 100644 --- a/examples/simple_encoder.c +++ b/examples/simple_encoder.c @@ -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);