flvenc: silence bogus warning
authorBenjamin Larsson <benjamin@southpole.se>
Mon, 17 Sep 2012 19:14:58 +0000 (21:14 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 18 Sep 2012 08:31:04 +0000 (10:31 +0200)
commit6a08955c104450dfc8f56aa9f552a4c08f8d8f7f
treea8d6145de16f17f086f0ee193a1fcb7b03b4016d
parent2a8a860ae65b0c1c955f148d8697cc30adc71cf3
flvenc: silence bogus warning

The compiler fails to figure out that enc->codec_type can only
have 3 different values.
Thus when an if/else is encountered it triggers on the possibility
of the else case has not initialized the flags variable.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/flvenc.c