mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
iff: compact code setting metadata tags
Ease readability.
This commit is contained in:
parent
34f590b29b
commit
d8353256a3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user