[FFmpeg-cvslog] avformat/matroskaenc: fix indention level

Michael Niedermayer git at videolan.org
Sat Apr 26 22:32:25 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Apr 26 22:01:48 2014 +0200| [24725f8e096bb5e7997f410bad3aadac61e5e581] | committer: Michael Niedermayer

avformat/matroskaenc: fix indention level

Fixes CID1206644
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/matroskaenc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 529ab2a..a628c7a 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -1659,9 +1659,9 @@ static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt)
             ret = mkv->cur_audio_pkt.buf ? 0 : AVERROR(ENOMEM);
         } else
             ret = av_dup_packet(&mkv->cur_audio_pkt);
-            if (mkv->cur_audio_pkt.side_data_elems > 0) {
-                ret = av_copy_packet_side_data(&mkv->cur_audio_pkt, &mkv->cur_audio_pkt);
-            }
+        if (mkv->cur_audio_pkt.side_data_elems > 0) {
+            ret = av_copy_packet_side_data(&mkv->cur_audio_pkt, &mkv->cur_audio_pkt);
+        }
     } else
         ret = mkv_write_packet_internal(s, pkt);
     return ret;



More information about the ffmpeg-cvslog mailing list