Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
x264
Commits
ac2d7c08
Commit
ac2d7c08
authored
Nov 06, 2012
by
Fiona Glaser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash with no-scenecut + mbtree
parent
480bbc90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
encoder/slicetype.c
encoder/slicetype.c
+1
-0
No files found.
encoder/slicetype.c
View file @
ac2d7c08
...
...
@@ -1124,6 +1124,7 @@ static void x264_macroblock_tree( x264_t *h, x264_mb_analysis_t *a, x264_frame_t
if
(
!
h
->
param
.
rc
.
i_lookahead
)
{
x264_slicetype_frame_cost
(
h
,
a
,
frames
,
0
,
last_nonb
,
last_nonb
,
0
);
x264_macroblock_tree_propagate
(
h
,
frames
,
average_duration
,
0
,
last_nonb
,
last_nonb
,
1
);
XCHG
(
uint16_t
*
,
frames
[
last_nonb
]
->
i_propagate_cost
,
frames
[
0
]
->
i_propagate_cost
);
}
...
...
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