projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6cc73
)
frame_size vs. frame_size*channels bug
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 Nov 2007 00:59:19 +0000
(
00:59
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 Nov 2007 00:59:19 +0000
(
00:59
+0000)
Originally committed as revision 11107 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
880f379
..
217c371
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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) {