Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d44c7235
Commit
d44c7235
authored
Nov 02, 2019
by
Jun Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/flvenc: Cosmetics: fix indentation
fix indentation Signed-off-by:
Jun Zhao
<
barryjzhao@tencent.com
>
parent
3dce89e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
flvenc.c
libavformat/flvenc.c
+4
-4
No files found.
libavformat/flvenc.c
View file @
d44c7235
...
@@ -970,10 +970,10 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
...
@@ -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
&&
}
else
if
(
par
->
codec_id
==
AV_CODEC_ID_AAC
&&
pkt
->
size
>
2
&&
(
AV_RB16
(
pkt
->
data
)
&
0xfff0
)
==
0xfff0
)
{
(
AV_RB16
(
pkt
->
data
)
&
0xfff0
)
==
0xfff0
)
{
if
(
!
s
->
streams
[
pkt
->
stream_index
]
->
nb_frames
)
{
if
(
!
s
->
streams
[
pkt
->
stream_index
]
->
nb_frames
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Malformed AAC bitstream detected: "
av_log
(
s
,
AV_LOG_ERROR
,
"Malformed AAC bitstream detected: "
"use the audio bitstream filter 'aac_adtstoasc' to fix it "
"use the audio bitstream filter 'aac_adtstoasc' to fix it "
"('-bsf:a aac_adtstoasc' option with ffmpeg)
\n
"
);
"('-bsf:a aac_adtstoasc' option with ffmpeg)
\n
"
);
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
}
av_log
(
s
,
AV_LOG_WARNING
,
"aac bitstream error
\n
"
);
av_log
(
s
,
AV_LOG_WARNING
,
"aac bitstream error
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment