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
b5451d88
Commit
b5451d88
authored
Feb 26, 2016
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: reindent a few decoders after previous commits
parent
22ebbda6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
51 deletions
+48
-51
movtextenc.c
libavcodec/movtextenc.c
+3
-4
srtenc.c
libavcodec/srtenc.c
+5
-6
assenc.c
libavformat/assenc.c
+40
-41
No files found.
libavcodec/movtextenc.c
View file @
b5451d88
...
...
@@ -343,7 +343,6 @@ static int mov_text_encode_frame(AVCodecContext *avctx, unsigned char *buf,
if
(
!
strncmp
(
ass
,
"Dialogue: "
,
10
))
{
int
num
;
dialog
=
ff_ass_split_dialog
(
s
->
ass_ctx
,
ass
,
0
,
&
num
);
// TODO reindent
for
(;
dialog
&&
num
--
;
dialog
++
)
{
ff_ass_split_override_codes
(
&
mov_text_callbacks
,
s
,
dialog
->
text
);
}
...
...
libavcodec/srtenc.c
View file @
b5451d88
...
...
@@ -248,7 +248,6 @@ static int encode_frame(AVCodecContext *avctx,
if
(
!
strncmp
(
ass
,
"Dialogue: "
,
10
))
{
int
num
;
dialog
=
ff_ass_split_dialog
(
s
->
ass_ctx
,
ass
,
0
,
&
num
);
// TODO reindent
for
(;
dialog
&&
num
--
;
dialog
++
)
{
s
->
alignment_applied
=
0
;
srt_style_apply
(
s
,
dialog
->
style
);
...
...
libavformat/assenc.c
View file @
b5451d88
...
...
@@ -156,7 +156,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
{
ASSContext
*
ass
=
s
->
priv_data
;
// TODO: reindent
long
int
layer
;
char
*
p
=
pkt
->
data
;
int64_t
start
=
pkt
->
pts
;
...
...
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