Commit 754d2977 authored by michael's avatar michael

frame_size vs. frame_size*channels bug


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11107 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c9729052
......@@ -1118,7 +1118,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
switch(ist->st->codec->codec_type) {
case CODEC_TYPE_AUDIO:
ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) /
(ist->st->codec->sample_rate * ist->st->codec->channels);
ist->st->codec->sample_rate;
break;
case CODEC_TYPE_VIDEO:
if (ist->st->codec->time_base.num != 0) {
......
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