[FFmpeg-cvslog] lavf/wtvdec: add missing { } around if.

Clément Bœsch git at videolan.org
Mon Jul 2 15:10:42 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Jul  2 08:17:40 2012 +0200| [c855ce2671c7f11c86c1e876ccbddade010e16b2] | committer: Clément Bœsch

lavf/wtvdec: add missing { } around if.

This should fix the current failures spotted by FATE.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c855ce2671c7f11c86c1e876ccbddade010e16b2
---

 libavformat/wtvdec.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index eb31250..bbd7c23 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;



More information about the ffmpeg-cvslog mailing list