Message ID | rtf7sSn4OZzfVt1t6foTjKEifjQK7qRhDqi-mhi0kXt2xLc6XcP5oPG8C_jAudujHZXvGjBr_rmWQM6K7sII24gB-Go8uMMt5K2PX9IFN7o=@protonmail.com |
---|---|
State | Accepted |
Commit | a29c7127297af7f72384cb2a96571853d16e6f82 |
Headers | show |
diff --git a/libavformat/prompeg.c b/libavformat/prompeg.c index cc1baa4..9770a91 100644 --- a/libavformat/prompeg.c +++ b/libavformat/prompeg.c @@ -432,7 +432,7 @@ static int prompeg_write(URLContext *h, const uint8_t *buf, int size) { // FEC (column) send block-aligned if (!s->first && s->packet_idx % s->d == 0) { - col_out_idx = s->packet_idx / s->l; + col_out_idx = s->packet_idx / s->d; if ((ret = prompeg_write_fec(h, s->fec_col[col_out_idx], PROMPEG_FEC_COL)) < 0) goto end; written += ret;
Hi, Impossible to send in plain-text... Attached as text/plain in base64 From 5b4401af5bdfe4736f5192f5dc118948f4906bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20H=C3=A5kon?= <andreas.hakon@protonmail.com> Date: Fri, 13 Jan 2017 13:07:57 +0100 Subject: [PATCH 1/1] avformat: Fix Pro-MPEG non-square matrix --- libavformat/prompeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)