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
547d2055
Commit
547d2055
authored
Aug 06, 2009
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove commented-out cruft.
Originally committed as revision 19605 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8b93ddc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
wmv2enc.c
libavcodec/wmv2enc.c
+0
-18
No files found.
libavcodec/wmv2enc.c
View file @
547d2055
...
...
@@ -66,19 +66,6 @@ static av_cold int wmv2_encode_init(AVCodecContext *avctx){
return
0
;
}
#if 0 /* unused, remove? */
static av_cold int wmv2_encode_end(AVCodecContext *avctx){
if(MPV_encode_end(avctx) < 0)
return -1;
avctx->extradata_size= 0;
av_freep(&avctx->extradata);
return 0;
}
#endif
int
ff_wmv2_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
)
{
Wmv2Context
*
const
w
=
(
Wmv2Context
*
)
s
;
...
...
@@ -91,7 +78,6 @@ int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number)
s
->
dc_table_index
=
1
;
s
->
mv_table_index
=
1
;
/* only if P frame */
// s->use_skip_mb_code = 1; /* only if P frame */
s
->
per_mb_rl_table
=
0
;
s
->
mspel
=
0
;
w
->
per_mb_abt
=
0
;
...
...
@@ -203,10 +189,6 @@ void ff_wmv2_encode_mb(MpegEncContext * s,
}
coded_cbp
|=
val
<<
(
5
-
i
);
}
#if 0
if (coded_cbp)
printf("cbp=%x %x\n", cbp, coded_cbp);
#endif
if
(
s
->
pict_type
==
FF_I_TYPE
)
{
put_bits
(
&
s
->
pb
,
...
...
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