aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-07-02 08:17:40 +0200
committerClément Bœsch <ubitux@gmail.com>2012-07-02 15:09:53 +0200
commitc855ce2671c7f11c86c1e876ccbddade010e16b2 (patch)
treecdc9da0a5914c339e78790ccc9ea6707ced5eecd
parentfbdb2059684ff27be61cfe40446e68cb2f9a12f8 (diff)
downloadffmpeg-c855ce2671c7f11c86c1e876ccbddade010e16b2.tar.gz
lavf/wtvdec: add missing { } around if.
This should fix the current failures spotted by FATE.
-rw-r--r--libavformat/wtvdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index eb312500c0..bbd7c23724 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -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;