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
0149db66
Commit
0149db66
authored
Mar 12, 2005
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l (compile fix)
Originally committed as revision 4032 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b2866c5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
h264.c
libavcodec/h264.c
+4
-2
No files found.
libavcodec/h264.c
View file @
0149db66
...
...
@@ -6536,10 +6536,10 @@ static int decode_frame(AVCodecContext *avctx,
}
{
//#define DECODE_ORDER
Picture
*
out
=
s
->
current_picture_ptr
;
#if 0 //decode order
*data_size = sizeof(AVFrame);
#
ifndef DECODE_ORDER
#
else
/* Sort B-frames into display order */
Picture
*
cur
=
s
->
current_picture_ptr
;
Picture
*
prev
=
h
->
delayed_output_pic
;
...
...
@@ -6595,6 +6595,8 @@ static int decode_frame(AVCodecContext *avctx,
if
(
prev
==
out
&&
!
dropped_frame
)
*
data_size
=
0
;
else
*
data_size
=
sizeof
(
AVFrame
);
if
(
prev
&&
prev
!=
out
&&
prev
->
reference
==
1
)
prev
->
reference
=
0
;
h
->
delayed_output_pic
=
out
;
...
...
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