Commit 5e9b83f5 authored by Michael Niedermayer's avatar Michael Niedermayer

antitime

Originally committed as revision 2968 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5a757507
...@@ -685,7 +685,7 @@ DVMuxContext* dv_init_mux(AVFormatContext* s) ...@@ -685,7 +685,7 @@ DVMuxContext* dv_init_mux(AVFormatContext* s)
/* Ok, everything seems to be in working order */ /* Ok, everything seems to be in working order */
c->frames = 0; c->frames = 0;
c->has_audio = c->has_video = 0; c->has_audio = c->has_video = 0;
c->start_time = time(NULL); c->start_time = 0;
c->aspect = 0; /* 4:3 is the default */ c->aspect = 0; /* 4:3 is the default */
if ((int)(av_q2d(vst->codec.sample_aspect_ratio) * vst->codec.width / vst->codec.height * 10) == 17) /* 16:9 */ if ((int)(av_q2d(vst->codec.sample_aspect_ratio) * vst->codec.width / vst->codec.height * 10) == 17) /* 16:9 */
c->aspect = 0x07; c->aspect = 0x07;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment