mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavf/wtvdec: add missing { } around if.
This should fix the current failures spotted by FATE.
This commit is contained in:
parent
fbdb205968
commit
c855ce2671
@ -461,18 +461,18 @@ static void get_tag(AVFormatContext *s, AVIOContext *pb, const char *key, int ty
|
||||
} else if (type == 4 && length == 8) {
|
||||
int64_t num = avio_rl64(pb);
|
||||
if (!strcmp(key, "WM/EncodingTime") ||
|
||||
!strcmp(key, "WM/MediaOriginalBroadcastDateTime"))
|
||||
!strcmp(key, "WM/MediaOriginalBroadcastDateTime")) {
|
||||
if (filetime_to_iso8601(buf, buf_size, num) < 0) {
|
||||
av_free(buf);
|
||||
return;
|
||||
}
|
||||
else if (!strcmp(key, "WM/WMRVEncodeTime") ||
|
||||
!strcmp(key, "WM/WMRVEndTime"))
|
||||
} else if (!strcmp(key, "WM/WMRVEncodeTime") ||
|
||||
!strcmp(key, "WM/WMRVEndTime")) {
|
||||
if (crazytime_to_iso8601(buf, buf_size, num) < 0) {
|
||||
av_free(buf);
|
||||
return;
|
||||
}
|
||||
else if (!strcmp(key, "WM/WMRVExpirationDate")) {
|
||||
} else if (!strcmp(key, "WM/WMRVExpirationDate")) {
|
||||
if (oledate_to_iso8601(buf, buf_size, num) < 0 ) {
|
||||
av_free(buf);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user