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
17e40236
Commit
17e40236
authored
Aug 07, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvdsubenc: set frame size in extradata.
parent
b1511e00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dvdsubenc.c
libavcodec/dvdsubenc.c
+2
-0
No files found.
libavcodec/dvdsubenc.c
View file @
17e40236
...
@@ -398,6 +398,8 @@ static int dvdsub_init(AVCodecContext *avctx)
...
@@ -398,6 +398,8 @@ static int dvdsub_init(AVCodecContext *avctx)
memcpy
(
dvdc
->
global_palette
,
default_palette
,
sizeof
(
dvdc
->
global_palette
));
memcpy
(
dvdc
->
global_palette
,
default_palette
,
sizeof
(
dvdc
->
global_palette
));
av_bprint_init
(
&
extradata
,
0
,
1
);
av_bprint_init
(
&
extradata
,
0
,
1
);
if
(
avctx
->
width
&&
avctx
->
height
)
av_bprintf
(
&
extradata
,
"size: %dx%d
\n
"
,
avctx
->
width
,
avctx
->
height
);
av_bprintf
(
&
extradata
,
"palette:"
);
av_bprintf
(
&
extradata
,
"palette:"
);
for
(
i
=
0
;
i
<
16
;
i
++
)
for
(
i
=
0
;
i
<
16
;
i
++
)
av_bprintf
(
&
extradata
,
" %06"
PRIx32
"%c"
,
av_bprintf
(
&
extradata
,
" %06"
PRIx32
"%c"
,
...
...
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