changeset 3824:61d312116e71 libavcodec

Original Commit: r18 | ods15 | 2006-09-22 12:29:26 +0300 (Fri, 22 Sep 2006) | 2 lines add ability to run encoder for testing purposes...
author ods15
date Mon, 02 Oct 2006 05:55:45 +0000
parents 41ad23b61a2c
children 9983437a00a1
files vorbis_enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis_enc.c	Mon Oct 02 05:55:43 2006 +0000
+++ b/vorbis_enc.c	Mon Oct 02 05:55:45 2006 +0000
@@ -483,7 +483,7 @@
     avccontext->coded_frame->pts = av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base);
     memcpy(packets, compressed_frame, l);
 #endif
-    return 0;
+    return data ? 50 : 0;
 }