[Ffmpeg-cvslog] r6429 - trunk/libavcodec/vorbis_enc.c

ods15 subversion
Mon Oct 2 07:55:46 CEST 2006


Author: ods15
Date: Mon Oct  2 07:55:45 2006
New Revision: 6429

Modified:
   trunk/libavcodec/vorbis_enc.c

Log:
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...

Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c	(original)
+++ trunk/libavcodec/vorbis_enc.c	Mon Oct  2 07:55:45 2006
@@ -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;
 }
 
 




More information about the ffmpeg-cvslog mailing list