id3v2: read TXXX frames with two calls to decode_str() instead of one.
authorAnton Khirnov <anton@khirnov.net>
Sun, 2 Oct 2011 07:06:34 +0000 (09:06 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 3 Oct 2011 11:06:51 +0000 (13:06 +0200)
commitd2961e4ebfbb78af0f066760eb0ffb8a8567e529
treebe1079aea1a59551b0bd16be8427c93e227065df
parent1e18d32d01fc0ac784a0d592b46215bfbdcc579d
id3v2: read TXXX frames with two calls to decode_str() instead of one.

Read the key in the first, value in the second.

This allows to avoid pointless strdups and simplify decode_str() by
dropping two of its parameters.
libavformat/id3v2.c