Displaying 1 result from an estimated 1 matches for "audio_bytesout".
2004 Nov 16
0
metadata switches for ffmpeg2theora
...--- theorautils.c (revision 8208)
+++ theorautils.c (working copy)
@@ -32,8 +32,6 @@
#include "theorautils.h"
-theoraframes_info info;
-
static double rint(double x)
{
if (x < 0.0)
@@ -42,30 +40,30 @@
return (double)(int)(x + 0.5);
}
-void theoraframes_init (){
- info.audio_bytesout = 0;
- info.video_bytesout = 0;
+void theoraframes_init (theoraframes_info *info){
+ info->audio_bytesout = 0;
+ info->video_bytesout = 0;
/* yayness. Set up Ogg output stream */
srand (time (NULL));
- ogg_stream_init (&info.vo, rand ());
+ ogg_stream_init (&info->vo, rand...