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
58bfafbe
Commit
58bfafbe
authored
Nov 18, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hurry_up=5 support
Originally committed as revision 1219 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8a555875
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
mpeg12.c
libavcodec/mpeg12.c
+5
-1
No files found.
libavcodec/mpeg12.c
View file @
58bfafbe
...
...
@@ -1402,6 +1402,10 @@ static int mpeg1_decode_picture(AVCodecContext *avctx,
ref
=
get_bits
(
&
s
->
gb
,
10
);
/* temporal ref */
s
->
pict_type
=
get_bits
(
&
s
->
gb
,
3
);
dprintf
(
"pict_type=%d number=%d
\n
"
,
s
->
pict_type
,
s
->
picture_number
);
avctx
->
pict_type
=
s
->
pict_type
;
avctx
->
key_frame
=
s
->
pict_type
==
I_TYPE
;
skip_bits
(
&
s
->
gb
,
16
);
if
(
s
->
pict_type
==
P_TYPE
||
s
->
pict_type
==
B_TYPE
)
{
s
->
full_pel
[
0
]
=
get_bits1
(
&
s
->
gb
);
...
...
@@ -1911,7 +1915,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
break
;
default:
if
(
start_code
>=
SLICE_MIN_START_CODE
&&
start_code
<=
SLICE_MAX_START_CODE
)
{
start_code
<=
SLICE_MAX_START_CODE
&&
s2
->
hurry_up
<
5
)
{
ret
=
mpeg_decode_slice
(
avctx
,
picture
,
start_code
,
s
->
buffer
,
input_size
);
if
(
ret
==
DECODE_SLICE_EOP
)
{
...
...
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