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
3c4f1840
Commit
3c4f1840
authored
Apr 05, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
b frames & slices bugfix
Originally committed as revision 377 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
84afee34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
h263dec.c
libavcodec/h263dec.c
+9
-3
No files found.
libavcodec/h263dec.c
View file @
3c4f1840
...
...
@@ -220,9 +220,15 @@ static int h263_decode_frame(AVCodecContext *avctx,
if
(
h
>
16
)
h
=
16
;
offset
=
y
*
s
->
linesize
;
src_ptr
[
0
]
=
s
->
current_picture
[
0
]
+
offset
;
src_ptr
[
1
]
=
s
->
current_picture
[
1
]
+
(
offset
>>
2
);
src_ptr
[
2
]
=
s
->
current_picture
[
2
]
+
(
offset
>>
2
);
if
(
s
->
pict_type
==
B_TYPE
||
(
!
s
->
has_b_frames
)){
src_ptr
[
0
]
=
s
->
current_picture
[
0
]
+
offset
;
src_ptr
[
1
]
=
s
->
current_picture
[
1
]
+
(
offset
>>
2
);
src_ptr
[
2
]
=
s
->
current_picture
[
2
]
+
(
offset
>>
2
);
}
else
{
src_ptr
[
0
]
=
s
->
last_picture
[
0
]
+
offset
;
src_ptr
[
1
]
=
s
->
last_picture
[
1
]
+
(
offset
>>
2
);
src_ptr
[
2
]
=
s
->
last_picture
[
2
]
+
(
offset
>>
2
);
}
avctx
->
draw_horiz_band
(
avctx
,
src_ptr
,
s
->
linesize
,
y
,
s
->
width
,
h
);
}
...
...
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