]> git.sesse.net Git - ffmpeg/commitdiff
avformat/mov: fix missing line break in messages
authorMoritz Barsnick <barsnick@gmx.net>
Thu, 25 Jun 2020 10:40:45 +0000 (12:40 +0200)
committerGyan Doshi <ffmpeg@gyani.pro>
Sun, 12 Jul 2020 15:10:54 +0000 (20:40 +0530)
One of them can be triggered by https://samples.ffmpeg.org/F4V/H263_NM_f.mp4.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
libavformat/mov.c

index da438e4e2c452199a1be3ff09abe712142f7d205..7f8413c6c9d2ada30490ebaf6c5edecab7ef6af7 100644 (file)
@@ -894,7 +894,7 @@ static int mov_read_ddts(MOVContext *c, AVIOContext *pb, MOVAtom atom)
             (frame_duration_code == 3) ? 4096 : 0;
 
     if (channel_layout_code > 0xff) {
-        av_log(c->fc, AV_LOG_WARNING, "Unsupported DTS audio channel layout");
+        av_log(c->fc, AV_LOG_WARNING, "Unsupported DTS audio channel layout\n");
     }
     st->codecpar->channel_layout =
             ((channel_layout_code & 0x1) ? AV_CH_FRONT_CENTER : 0) |
@@ -5219,7 +5219,7 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom)
         } else {
             edit_count = atom.size / elst_entry_size;
             if (edit_count * elst_entry_size != atom.size) {
-                av_log(c->fc, AV_LOG_WARNING, "ELST atom of %"PRId64" bytes, bigger than %d entries.", atom.size, edit_count);
+                av_log(c->fc, AV_LOG_WARNING, "ELST atom of %"PRId64" bytes, bigger than %d entries.\n", atom.size, edit_count);
             }
         }
     }