From 0baf651bc12d256cf71ae94d6219e65c9b0d3e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 1 Sep 2011 02:56:59 +0200 Subject: [PATCH] cmdutils: fix uninitialized variable (type) warning. --- cmdutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdutils.c b/cmdutils.c index d42a6e831e..b89b1683b2 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -805,6 +805,7 @@ int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec) case 'a': type = AVMEDIA_TYPE_AUDIO; break; case 's': type = AVMEDIA_TYPE_SUBTITLE; break; case 'd': type = AVMEDIA_TYPE_DATA; break; + default: abort(); // never reached, silence warning } if (type != st->codec->codec_type) return 0;