Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
53a9fa09
Commit
53a9fa09
authored
Apr 07, 2015
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: h264: fix divbyzero
parent
06682f22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/packetizer/h264.c
modules/packetizer/h264.c
+1
-1
No files found.
modules/packetizer/h264.c
View file @
53a9fa09
...
...
@@ -798,7 +798,7 @@ static block_t *OutputPicture( decoder_t *p_dec )
p_sys
->
i_frame_dts
=
VLC_TS_INVALID
;
p_sys
->
i_frame_pts
=
VLC_TS_INVALID
;
}
else
if
(
p_sys
->
b_timing_info_present_flag
)
else
if
(
p_sys
->
b_timing_info_present_flag
&&
p_sys
->
i_time_scale
)
{
p_sys
->
i_frame_pts
+=
CLOCK_FREQ
*
p_sys
->
i_num_units_in_tick
/
p_sys
->
i_time_scale
;
}
...
...
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