diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-09-01 02:56:59 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-09-01 20:23:40 +0200 |
commit | 0baf651bc12d256cf71ae94d6219e65c9b0d3e5a (patch) | |
tree | 368b8795491d9c4223cc846a2f7b8c1d2267b545 /cmdutils.c | |
parent | 7c14c24250d90773ef9dee384d89fff9e094be7b (diff) | |
download | ffmpeg-0baf651bc12d256cf71ae94d6219e65c9b0d3e5a.tar.gz |
cmdutils: fix uninitialized variable (type) warning.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |