Commit a29c7127 authored by Andreas Håkon's avatar Andreas Håkon Committed by Michael Niedermayer

avformat: Fix Pro-MPEG non-square matrix

Reviewed-by:vtarca@mobibase.com
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 430d4f2b
......@@ -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;
......
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