You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM
frame sample count calculation was incorrect
This commit is contained in:
@ -144,7 +144,7 @@ static int load_ipmovie_packet(IPMVEContext *s, AVIOContext *pb,
|
||||
(s->audio_chunk_size / s->audio_channels / (s->audio_bits / 8));
|
||||
else
|
||||
s->audio_frame_count +=
|
||||
(s->audio_chunk_size - 6) / s->audio_channels;
|
||||
(s->audio_chunk_size - 6 - s->audio_channels) / s->audio_channels;
|
||||
|
||||
av_dlog(NULL, "sending audio frame with pts %"PRId64" (%d audio frames)\n",
|
||||
pkt->pts, s->audio_frame_count);
|
||||
|
Reference in New Issue
Block a user