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
cd19c677
Commit
cd19c677
authored
Oct 27, 2005
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a crash on dropped frames
Originally committed as revision 4667 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a6624e21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
h264.c
libavcodec/h264.c
+1
-1
No files found.
libavcodec/h264.c
View file @
cd19c677
...
@@ -7672,7 +7672,7 @@ static int decode_frame(AVCodecContext *avctx,
...
@@ -7672,7 +7672,7 @@ static int decode_frame(AVCodecContext *avctx,
out_of_order
=
!
cross_idr
&&
prev
&&
out
->
poc
<
prev
->
poc
;
out_of_order
=
!
cross_idr
&&
prev
&&
out
->
poc
<
prev
->
poc
;
if
(
prev
&&
pics
<=
s
->
avctx
->
has_b_frames
)
if
(
prev
&&
pics
<=
s
->
avctx
->
has_b_frames
)
out
=
prev
;
out
=
prev
;
else
if
((
out_of_order
&&
pics
-
1
==
s
->
avctx
->
has_b_frames
)
else
if
((
out_of_order
&&
pics
-
1
==
s
->
avctx
->
has_b_frames
&&
pics
<
15
)
||
(
s
->
low_delay
&&
||
(
s
->
low_delay
&&
((
!
cross_idr
&&
prev
&&
out
->
poc
>
prev
->
poc
+
2
)
((
!
cross_idr
&&
prev
&&
out
->
poc
>
prev
->
poc
+
2
)
||
cur
->
pict_type
==
B_TYPE
)))
||
cur
->
pict_type
==
B_TYPE
)))
...
...
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