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
c45b1aa8
Commit
c45b1aa8
authored
Mar 02, 2016
by
Rostislav Pehlivanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc2enc: minor cosmetic changes
Signed-off-by:
Rostislav Pehlivanov
<
atomnuker@gmail.com
>
parent
f21cf2b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
vc2enc.c
libavcodec/vc2enc.c
+4
-5
No files found.
libavcodec/vc2enc.c
View file @
c45b1aa8
...
@@ -506,7 +506,6 @@ static void encode_wavelet_transform(VC2EncContext *s)
...
@@ -506,7 +506,6 @@ static void encode_wavelet_transform(VC2EncContext *s)
{
{
encode_transform_params
(
s
);
encode_transform_params
(
s
);
avpriv_align_put_bits
(
&
s
->
pb
);
avpriv_align_put_bits
(
&
s
->
pb
);
/* Continued after DWT in encode_transform_data() */
}
}
/* VC-2 12 - picture_parse() */
/* VC-2 12 - picture_parse() */
...
@@ -961,7 +960,7 @@ static int encode_frame(VC2EncContext *s, AVPacket *avpkt, const AVFrame *frame,
...
@@ -961,7 +960,7 @@ static int encode_frame(VC2EncContext *s, AVPacket *avpkt, const AVFrame *frame,
}
}
static
av_cold
int
vc2_encode_frame
(
AVCodecContext
*
avctx
,
AVPacket
*
avpkt
,
static
av_cold
int
vc2_encode_frame
(
AVCodecContext
*
avctx
,
AVPacket
*
avpkt
,
const
AVFrame
*
frame
,
int
*
got_packet
_ptr
)
const
AVFrame
*
frame
,
int
*
got_packet
)
{
{
int
ret
=
0
;
int
ret
=
0
;
int
sig_size
=
256
;
int
sig_size
=
256
;
...
@@ -1004,7 +1003,7 @@ static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
...
@@ -1004,7 +1003,7 @@ static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
flush_put_bits
(
&
s
->
pb
);
flush_put_bits
(
&
s
->
pb
);
avpkt
->
size
=
put_bits_count
(
&
s
->
pb
)
>>
3
;
avpkt
->
size
=
put_bits_count
(
&
s
->
pb
)
>>
3
;
*
got_packet
_ptr
=
1
;
*
got_packet
=
1
;
return
0
;
return
0
;
}
}
...
...
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