vlc | branch: master | Zhao Zhili <[email protected]> | Thu Oct 8 14:02:00 2020 +0200| [7f975dec89edbe1b954e6d9f8fc506c742c49e5b] | committer: Steve Lhomme
avcodec: remove reset of AVCodecContext draw_horiz_band field The draw_horiz_band field is initialized to NULL by libavcodec. It doesn't been modified since then, so there is no point to reset it again. Signed-off-by: Steve Lhomme <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f975dec89edbe1b954e6d9f8fc506c742c49e5b --- modules/codec/avcodec/video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c index cdc63a5083..dd2b69ebef 100644 --- a/modules/codec/avcodec/video.c +++ b/modules/codec/avcodec/video.c @@ -1670,7 +1670,6 @@ no_reuse: p_sys->p_va = va; p_sys->pix_fmt = hwfmt; - p_context->draw_horiz_band = NULL; vlc_mutex_unlock(&p_sys->lock); return hwfmt; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
