Commit 4d6672ec authored by michael's avatar michael

10l (rescaling AV_NOPTS_VALUE)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4227 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2cc06240
......@@ -1782,7 +1782,7 @@ static int av_encode(AVFormatContext **output_files,
is = input_files[ist->file_index];
ist->pts = 0;
ist->next_pts = av_rescale_q(ist->st->start_time, ist->st->time_base, AV_TIME_BASE_Q);
if(ist->next_pts == AV_NOPTS_VALUE)
if(ist->st->start_time == AV_NOPTS_VALUE)
ist->next_pts=0;
if(input_files_ts_offset[ist->file_index])
ist->next_pts= AV_NOPTS_VALUE;
......
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