[vlc-devel] [PATCH 2/2] ccda: fix compiler warning
George Vaindirlis
george.vdl1 at gmail.com
Mon Apr 12 17:35:20 UTC 2021
---
modules/access/cdda.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 42ec944d12..b8cecc17ab 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -826,7 +826,7 @@ static int ReadDir(stream_t *access, input_item_node_t *node)
if (NONEMPTY(album))
input_item_SetAlbum(item, album);
- if (year != 0)
+ if (year != 0 && year < 10000)
{
char yearbuf[5];
--
2.30.2
More information about the vlc-devel
mailing list