[FFmpeg-cvslog] lavf/flvenc: Cosmetics: fix indentation

Jun Zhao git at videolan.org
Fri Nov 8 05:57:42 EET 2019


ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Sat Nov  2 19:59:45 2019 +0800| [d44c7235a80941501bcbaa168e8a454ef782c287] | committer: Jun Zhao

lavf/flvenc: Cosmetics: fix indentation

fix indentation

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>

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

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

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index fb1dede7ae..9d1327575b 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -970,10 +970,10 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
     } else if (par->codec_id == AV_CODEC_ID_AAC && pkt->size > 2 &&
                (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) {
         if (!s->streams[pkt->stream_index]->nb_frames) {
-        av_log(s, AV_LOG_ERROR, "Malformed AAC bitstream detected: "
-               "use the audio bitstream filter 'aac_adtstoasc' to fix it "
-               "('-bsf:a aac_adtstoasc' option with ffmpeg)\n");
-        return AVERROR_INVALIDDATA;
+            av_log(s, AV_LOG_ERROR, "Malformed AAC bitstream detected: "
+                   "use the audio bitstream filter 'aac_adtstoasc' to fix it "
+                   "('-bsf:a aac_adtstoasc' option with ffmpeg)\n");
+            return AVERROR_INVALIDDATA;
         }
         av_log(s, AV_LOG_WARNING, "aac bitstream error\n");
     }



More information about the ffmpeg-cvslog mailing list