fourcc: fix non zero terminated fallback array
authorVictorien Le Couviour--Tuffet <victorien.lecouviour.tuffet@gmail.com>
Fri, 4 Aug 2017 17:41:01 +0000 (19:41 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 6 Aug 2017 20:25:19 +0000 (22:25 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/misc/fourcc.c

index 59ed714..076117f 100644 (file)
@@ -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[] = {