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
8b76418a
Commit
8b76418a
authored
Sep 27, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
100l
Originally committed as revision 2305 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
54324550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
h263.c
libavcodec/h263.c
+3
-2
No files found.
libavcodec/h263.c
View file @
8b76418a
...
...
@@ -1583,6 +1583,7 @@ void h263_encode_init(MpegEncContext *s)
s
->
ac_esc_length
=
7
+
2
+
1
+
6
+
1
+
12
+
1
;
if
(
s
->
flags
&
CODEC_FLAG_GLOBAL_HEADER
){
s
->
avctx
->
extradata
=
av_malloc
(
1024
);
init_put_bits
(
&
s
->
pb
,
s
->
avctx
->
extradata
,
1024
,
NULL
,
NULL
);
...
...
@@ -2905,7 +2906,7 @@ static int mpeg4_decode_partition_a(MpegEncContext *s){
int16_t
*
const
mot_val
=
s
->
motion_val
[
s
->
block_index
[
0
]];
const
int
stride
=
s
->
block_wrap
[
0
]
*
2
;
do
{
// do{ //FIXME
bits
=
show_bits
(
&
s
->
gb
,
17
);
if
(
bits
==
MOTION_MARKER
){
return
mb_num
-
1
;
...
...
@@ -2936,7 +2937,7 @@ static int mpeg4_decode_partition_a(MpegEncContext *s){
fprintf
(
stderr
,
"cbpc corrupted at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
}
while
(
cbpc
==
20
);
//
}while(cbpc == 20);
s
->
cbp_table
[
xy
]
=
cbpc
&
(
8
+
3
);
//8 is dquant
...
...
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