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
e4d65ba5
Commit
e4d65ba5
authored
Aug 02, 2009
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove commented-out cruft.
Originally committed as revision 19566 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4d8eecf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
rv10.c
libavcodec/rv10.c
+0
-7
No files found.
libavcodec/rv10.c
View file @
e4d65ba5
...
...
@@ -273,7 +273,6 @@ void rv20_encode_picture_header(MpegEncContext *s, int picture_number){
assert
(
s
->
f_code
==
1
);
assert
(
s
->
unrestricted_mv
==
1
);
// assert(s->h263_aic== (s->pict_type == FF_I_TYPE));
assert
(
s
->
alt_inter_vlc
==
0
);
assert
(
s
->
umvplus
==
0
);
assert
(
s
->
modified_quant
==
1
);
...
...
@@ -296,14 +295,12 @@ static int rv10_decode_picture_header(MpegEncContext *s)
{
int
mb_count
,
pb_frame
,
marker
,
unk
,
mb_xy
;
//printf("ff:%d\n", full_frame);
marker
=
get_bits1
(
&
s
->
gb
);
if
(
get_bits1
(
&
s
->
gb
))
s
->
pict_type
=
FF_P_TYPE
;
else
s
->
pict_type
=
FF_I_TYPE
;
//printf("h:%X ver:%d\n",h,s->rv10_version);
if
(
!
marker
)
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"marker missing
\n
"
);
pb_frame
=
get_bits1
(
&
s
->
gb
);
...
...
@@ -344,7 +341,6 @@ static int rv10_decode_picture_header(MpegEncContext *s)
mb_count
=
s
->
mb_width
*
s
->
mb_height
;
}
unk
=
get_bits
(
&
s
->
gb
,
3
);
/* ignored */
//printf("%d\n", unk);
s
->
f_code
=
1
;
s
->
unrestricted_mv
=
1
;
...
...
@@ -418,7 +414,6 @@ static int rv20_decode_picture_header(MpegEncContext *s)
if
(
get_bits1
(
&
s
->
gb
)){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"unknown bit3 set
\n
"
);
// return -1;
}
seq
=
get_bits
(
&
s
->
gb
,
13
)
<<
2
;
...
...
@@ -611,7 +606,6 @@ static int rv10_decode_packet(AVCodecContext *avctx,
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"COUNT ERROR
\n
"
);
return
-
1
;
}
//if(s->pict_type == FF_P_TYPE) return 0;
if
((
s
->
mb_x
==
0
&&
s
->
mb_y
==
0
)
||
s
->
current_picture_ptr
==
NULL
)
{
if
(
s
->
current_picture_ptr
){
//FIXME write parser so we always have complete frames?
...
...
@@ -651,7 +645,6 @@ static int rv10_decode_packet(AVCodecContext *avctx,
s
->
rv10_first_dc_coded
[
0
]
=
0
;
s
->
rv10_first_dc_coded
[
1
]
=
0
;
s
->
rv10_first_dc_coded
[
2
]
=
0
;
//printf("%d %X %X\n", s->pict_type, s->current_picture.motion_val[0], s->current_picture.motion_val[1]);
s
->
block_wrap
[
0
]
=
s
->
block_wrap
[
1
]
=
s
->
block_wrap
[
2
]
=
...
...
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