You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat: Fix Pro-MPEG non-square matrix
Reviewed-by:vtarca@mobibase.com Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
430d4f2bb5
commit
a29c712729
@@ -432,7 +432,7 @@ static int prompeg_write(URLContext *h, const uint8_t *buf, int size) {
|
|||||||
|
|
||||||
// FEC (column) send block-aligned
|
// FEC (column) send block-aligned
|
||||||
if (!s->first && s->packet_idx % s->d == 0) {
|
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)
|
if ((ret = prompeg_write_fec(h, s->fec_col[col_out_idx], PROMPEG_FEC_COL)) < 0)
|
||||||
goto end;
|
goto end;
|
||||||
written += ret;
|
written += ret;
|
||||||
|
Reference in New Issue
Block a user