[vlc-commits] fourcc: fix non zero terminated fallback array

victorien.lecouviour.tuffet@gmail.com git at videolan.org
Sun Aug 6 22:08:24 CEST 2017


vlc | branch: master | victorien.lecouviour.tuffet at gmail.com <victorien.lecouviour.tuffet at gmail.com> | Fri Aug  4 19:41:01 2017 +0200| [d83b2901e360a8369ad3af9e72b728d974314a73] | committer: Jean-Baptiste Kempf

fourcc: fix non zero terminated fallback array

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d83b2901e360a8369ad3af9e72b728d974314a73
---

 src/misc/fourcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 59ed71469b..076117f355 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -378,7 +378,7 @@ static const vlc_fourcc_t p_CVPX_VIDEO_I420_fallback[] = {
 };
 
 static const vlc_fourcc_t p_VAAPI_420_fallback[] = {
-    VLC_CODEC_VAAPI_420, VLC_CODEC_I420,
+    VLC_CODEC_VAAPI_420, VLC_CODEC_I420, 0,
 };
 
 static const vlc_fourcc_t p_I440_fallback[] = {



More information about the vlc-commits mailing list