On Thu, Jun 27, 2024 at 08:08:14AM +1000, Peter Ross wrote:
> ---
>  libavformat/mm.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavformat/mm.c b/libavformat/mm.c
> index 23c025d852..a40b5c44bb 100644
> --- a/libavformat/mm.c
> +++ b/libavformat/mm.c
> @@ -180,7 +180,8 @@ static int read_packet(AVFormatContext *s,
>              if ((ret = av_get_packet(s->pb, pkt, length)) < 0)
>                  return ret;
>              pkt->stream_index = 1;
> -            pkt->pts = mm->audio_pts++;
> +            pkt->pts = mm->audio_pts;
> +            mm->audio_pts += length;
>              return 0;
>  
>          default :
> -- 
> 2.43.0

https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-June/330307.html

will apply this patch set soon.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to