Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
1c715415
Commit
1c715415
authored
Nov 28, 2007
by
Michael Niedermayer
Browse files
frame_size vs. frame_size*channels bug
Originally committed as revision 11107 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bb6cc730
Changes
1
Hide whitespace changes
Inline
Side-by-side
ffmpeg.c
View file @
1c715415
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment