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
get_video_buffer: add vertical padding
Fix memory corruption Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
53fd4f5594
commit
1ad542f11f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavutil/frame.c
+ 1
- 1
libavutil/frame.c
View File
@@ -106,7 +106,7 @@ static int get_video_buffer(AVFrame *frame, int align)
}
for (i = 0; i < 4 && frame->linesize[i]; i++) {
int h = frame->height;
int h =
FFALIGN(
frame->height
, 32)
;
if (i == 1 || i == 2)
h = -((-h) >> desc->log2_chroma_h);
Write
Preview
Loading…
Cancel
Save