[xiph-commits] r17103 - trunk/ffmpeg2theora/src
j at svn.xiph.org
j at svn.xiph.org
Tue Mar 30 01:27:25 PDT 2010
Author: j
Date: 2010-03-30 01:27:25 -0700 (Tue, 30 Mar 2010)
New Revision: 17103
Modified:
trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
remove trailing spaces
Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c 2010-03-30 08:26:39 UTC (rev 17102)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c 2010-03-30 08:27:25 UTC (rev 17103)
@@ -547,7 +547,7 @@
vstream_fps = vstream->r_frame_rate;
}
this->fps = fps = av_q2d(vstream_fps);
-
+
if (vcodec == NULL || avcodec_open (venc, vcodec) < 0) {
this->video_index = -1;
}
@@ -1286,7 +1286,7 @@
ret = av_read_frame(this->context, &pkt);
avpkt.size = pkt.size;
avpkt.data = pkt.data;
-
+
if (ret<0) {
if (!info.video_only)
audio_eos = 1;
@@ -1341,7 +1341,7 @@
double ivtime = (pkt.dts - this->pts_offset) * av_q2d(vstream->time_base);
double ovtime = (this->frame_count - this->pts_offset_frame) / av_q2d(this->framerate);
double delta = ivtime - ovtime;
-
+
/* it should be larger than half a frame to
avoid excessive dropping and duplicating */
@@ -1528,7 +1528,7 @@
duration = 2.0f;
else
duration = pkt.duration * av_q2d(stream->time_base);
-
+
// SSA has control stuff in there, extract raw text
if (enc->codec_id == CODEC_ID_SSA) {
char *dupe = malloc(utf8len+1); // not zero terminated, so make it so
@@ -2654,7 +2654,7 @@
has_skeleton |= info.with_skeleton;
/* deduce the preferred extension to use */
- const char *ext =
+ const char *ext =
has_video ? ".ogv" :
has_audio ? has_kate || has_skeleton ? ".oga" : ".ogg" :
".ogx";
More information about the commits
mailing list