ffmpeg | branch: master | Andreas Håkon <andreas.ha...@protonmail.com> | Fri 
Jan 13 13:07:57 2017 +0100| [a29c7127297af7f72384cb2a96571853d16e6f82] | 
committer: Michael Niedermayer

avformat: Fix Pro-MPEG non-square matrix

Reviewed-by:vta...@mobibase.com
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a29c7127297af7f72384cb2a96571853d16e6f82
---

 libavformat/prompeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/prompeg.c b/libavformat/prompeg.c
index cc1baa4ac0..9770a916a2 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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to