Browse Source

libavcodec/libdavs2.c: Fix for the wrong line size is used

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
tags/n4.2
Limin Wang Steven Liu 7 years ago
parent
commit
370b8bd847
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libdavs2.c

+ 1
- 1
libavcodec/libdavs2.c View File

@@ -106,7 +106,7 @@ static int davs2_dump_frames(AVCodecContext *avctx, davs2_picture_t *pic,
}

frame->data[plane] = frame->buf[plane]->data;
frame->linesize[plane] = pic->widths[plane];
frame->linesize[plane] = size_line;

for (line = 0; line < pic->lines[plane]; ++line)
memcpy(frame->data[plane] + line * size_line,


Loading…
Cancel
Save