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

Victorien Le Couviour--Tuffet git at videolan.org
Sun Aug 6 22:25:37 CEST 2017


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Fri Aug  4 19:41:01 2017 +0200| [8c1b062c57249d6259af0fdd710c995832fed3b7] | 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=8c1b062c57249d6259af0fdd710c995832fed3b7
---

 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