Use more designated initializers.

Also remove some pointless NULL/0 assigments.

C++ code must be left as it is because named struct
initializers are not supported by C++ standard.
This commit is contained in:
Paul B Mahol
2011-12-30 20:00:53 +01:00
committed by Carl Eugen Hoyos
parent 73ba2c1e62
commit ba10207bbe
21 changed files with 107 additions and 131 deletions

View File

@@ -244,7 +244,6 @@ static int ffm_write_trailer(AVFormatContext *s)
AVOutputFormat ff_ffm_muxer = {
.name = "ffm",
.long_name = NULL_IF_CONFIG_SMALL("FFM (FFserver live feed) format"),
.mime_type = "",
.extensions = "ffm",
.priv_data_size = sizeof(FFMContext),
.audio_codec = CODEC_ID_MP2,