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
c60a6560
Commit
c60a6560
authored
Jul 09, 2002
by
Felix Bünemann
Committed by
Michael Niedermayer
Jul 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warning fix patch by atmos
Originally committed as revision 728 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
55cb1ae6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
h263.c
libavcodec/h263.c
+4
-4
No files found.
libavcodec/h263.c
View file @
c60a6560
...
@@ -32,8 +32,8 @@
...
@@ -32,8 +32,8 @@
//rounded divison & shift
//rounded divison & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))
#define RSHIFT(a,b) ((a) > 0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))
#define PRINT_MB_TYPE(a)
;
#define PRINT_MB_TYPE(a)
{}
//#define PRINT_MB_TYPE(a) printf(a)
;
//#define PRINT_MB_TYPE(a) printf(a)
static
void
h263_encode_block
(
MpegEncContext
*
s
,
DCTELEM
*
block
,
static
void
h263_encode_block
(
MpegEncContext
*
s
,
DCTELEM
*
block
,
int
n
);
int
n
);
...
@@ -2357,7 +2357,7 @@ int h263_decode_mb(MpegEncContext *s,
...
@@ -2357,7 +2357,7 @@ int h263_decode_mb(MpegEncContext *s,
INT16
*
mot_val
;
INT16
*
mot_val
;
static
INT8
quant_tab
[
4
]
=
{
-
1
,
-
2
,
1
,
2
};
static
INT8
quant_tab
[
4
]
=
{
-
1
,
-
2
,
1
,
2
};
if
(
s
->
mb_x
==
0
)
PRINT_MB_TYPE
(
"
\n
"
)
if
(
s
->
mb_x
==
0
)
PRINT_MB_TYPE
(
"
\n
"
)
;
if
(
s
->
resync_marker
){
if
(
s
->
resync_marker
){
if
(
s
->
resync_mb_x
==
s
->
mb_x
&&
s
->
resync_mb_y
+
1
==
s
->
mb_y
){
if
(
s
->
resync_mb_x
==
s
->
mb_x
&&
s
->
resync_mb_y
+
1
==
s
->
mb_y
){
...
@@ -2539,7 +2539,7 @@ int h263_decode_mb(MpegEncContext *s,
...
@@ -2539,7 +2539,7 @@ int h263_decode_mb(MpegEncContext *s,
//FIXME is this correct?
//FIXME is this correct?
/* s->last_mv[0][0][0]=
/* s->last_mv[0][0][0]=
s->last_mv[0][0][1]=0;*/
s->last_mv[0][0][1]=0;*/
PRINT_MB_TYPE
(
"s"
)
PRINT_MB_TYPE
(
"s"
)
;
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