diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/run_encoder.c | 2 | ||||
-rw-r--r-- | test/test_vorbis_encoder.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/run_encoder.c b/test/run_encoder.c index 397dd8572..db4d3af9b 100644 --- a/test/run_encoder.c +++ b/test/run_encoder.c @@ -106,6 +106,8 @@ int main(int argc, char **argv) return 1; } + encoder_to_stdout(encoder); + /* do it */ while ((nbytes = read(0, buffer, sizeof(buffer))) > 0) { diff --git a/test/test_vorbis_encoder.c b/test/test_vorbis_encoder.c index 048d26f0a..619399159 100644 --- a/test/test_vorbis_encoder.c +++ b/test/test_vorbis_encoder.c @@ -67,6 +67,8 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) success = encoder_open(encoder, &audio_format, NULL); assert(success); + encoder_to_stdout(encoder); + /* write a block of data */ success = encoder_write(encoder, zero, sizeof(zero), NULL); |