Skip to content

Commit

Permalink
avformat/tty: fix last timestamp for fate
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed Feb 10, 2020
1 parent e63a664 commit bbea268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static int read_packet(AVFormatContext *avctx, AVPacket *pkt)
if (pkt->size < 0)
return pkt->size;
pkt->stream_index = 0;
pkt->pts = pkt->pos / n;
pkt->pts = pkt->pos / s->chars_per_frame;
pkt->flags |= AV_PKT_FLAG_KEY;
return 0;
}
Expand Down

0 comments on commit bbea268

Please sign in to comment.