summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-11-02 19:59:45 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-11-08 11:39:02 +0800
commitd44c7235a80941501bcbaa168e8a454ef782c287 (patch)
tree489569475ee5645edcac4dcc310a0874b0d7a5c3
parent3dce89e55e4ccb2c0f5445ca0c28d6d8507b4bc5 (diff)
downloadffmpeg-streaming-d44c7235a80941501bcbaa168e8a454ef782c287.zip
ffmpeg-streaming-d44c7235a80941501bcbaa168e8a454ef782c287.tar.gz
lavf/flvenc: Cosmetics: fix indentation
fix indentation Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
-rw-r--r--libavformat/flvenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index fb1dede..9d13275 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");
}
OpenPOWER on IntegriCloud