Commit bbea268a authored by Paul B Mahol's avatar Paul B Mahol

avformat/tty: fix last timestamp for fate

parent e63a6641
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment