This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
r210enc: fix encoding for unaligned widths
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Paul B Mahol
Michael Niedermayer
13 years ago
parent
cbf1dc4eb4
commit
6bcc8275a1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/r210enc.c
+ 1
- 1
libavcodec/r210enc.c
View File
@@ -68,7 +68,7 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *buf,
else
bytestream_put_be32(&dst, pixel);
}
dst += aligned_width - avctx->width;
dst +=
(
aligned_width - avctx->width
) * 4
;
src_line += pic->linesize[0];
}
Write
Preview
Loading…
Cancel
Save