diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-14 01:28:18 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-17 02:53:50 +0400 |
commit | d8353256a3ae9bbf76b9b080884b82566c4938ab (patch) | |
tree | 4865e6597fb2fcc1a4b3ae5397c9d0e6cb8a363c /libavformat/iff.c | |
parent | 34f590b29bc427036b6cb030bcc23d120316c20f (diff) |
iff: compact code setting metadata tags
Ease readability.
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r-- | libavformat/iff.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c index b57f0ee279..b092de0b08 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -232,21 +232,10 @@ static int iff_read_header(AVFormatContext *s, break; case ID_ANNO: - case ID_TEXT: - metadata_tag = "comment"; - break; - - case ID_AUTH: - metadata_tag = "artist"; - break; - - case ID_COPYRIGHT: - metadata_tag = "copyright"; - break; - - case ID_NAME: - metadata_tag = "title"; - break; + case ID_TEXT: metadata_tag = "comment"; break; + case ID_AUTH: metadata_tag = "artist"; break; + case ID_COPYRIGHT: metadata_tag = "copyright"; break; + case ID_NAME: metadata_tag = "title"; break; } if (metadata_tag) { |