diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-11-28 00:59:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-11-28 00:59:19 +0000 |
commit | 1c715415e3ebd4eda8e00732d5a68e7ad02f0ef6 (patch) | |
tree | b8d9f0fddfe7fd65176a7946bfff3d483fbaa5bb /ffmpeg.c | |
parent | bb6cc730e5b23fe655d582984f74910e4e905b9f (diff) | |
download | ffmpeg-1c715415e3ebd4eda8e00732d5a68e7ad02f0ef6.tar.gz |
frame_size vs. frame_size*channels bug
Originally committed as revision 11107 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |