options, codecs.conf: unify imgfmt name parsing
commitf98e47574de1556f915668f2ca19e0b1f9b63d34
authorUoti Urpala <uau@mplayer2.org>
Wed, 22 Aug 2012 14:18:20 +0000 (22 17:18 +0300)
committerUoti Urpala <uau@mplayer2.org>
Mon, 27 Aug 2012 21:17:27 +0000 (28 00:17 +0300)
tree9c7f34147140fcaa744d715c176572ca02e862ca
parent54e77621f896d81b5ba6287375a78bf140581d27
options, codecs.conf: unify imgfmt name parsing

m_option.c and codec-cfg.c both had their own mostly duplicated lists
to map name strings to imgfmt numbers. Replace them with a unified
list in img_format.c.
codec-cfg.c
libmpcodecs/img_format.c
libmpcodecs/img_format.h
m_option.c