diff options
author | wm4 <wm4@nowhere> | 2017-07-16 21:19:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-07-16 21:19:19 +0200 |
commit | b908ef9bb157e058cbe2732cffa4387c95ad45e7 (patch) | |
tree | ee457c53ee9dfe9775129c94e52e167416561490 | |
parent | 88f06eb126b023410f9ce12061ddd5db82a4e73b (diff) | |
download | mpv-opengl-dr.tar.bz2 mpv-opengl-dr.tar.xz |
fix shitopengl-dr
as pointed out by haasn
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index cf1b059f5b..66da18b08a 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -933,7 +933,7 @@ static int get_buffer2_direct(AVCodecContext *avctx, AVFrame *pic, int flags) int w = pic->width; int h = pic->height; - int linesize_align[AV_NUM_DATA_POINTERS]; + int linesize_align[AV_NUM_DATA_POINTERS] = {0}; avcodec_align_dimensions2(avctx, &w, &h, linesize_align); // We assume that different alignments are just different power-of-2s. |