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
f9614891
Commit
f9614891
authored
Jan 16, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix precission typos
Found-by: ubitux Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a46a23d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ffmpeg.c
ffmpeg.c
+1
-1
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+1
-1
No files found.
ffmpeg.c
View file @
f9614891
...
@@ -1241,7 +1241,7 @@ static int reap_filters(void)
...
@@ -1241,7 +1241,7 @@ static int reap_filters(void)
filtered_frame
=
ost
->
filtered_frame
;
filtered_frame
=
ost
->
filtered_frame
;
while
(
1
)
{
while
(
1
)
{
double
float_pts
=
AV_NOPTS_VALUE
;
// this is identical to filtered_frame.pts but with higher precis
s
ion
double
float_pts
=
AV_NOPTS_VALUE
;
// this is identical to filtered_frame.pts but with higher precision
ret
=
av_buffersink_get_frame_flags
(
filter
,
filtered_frame
,
ret
=
av_buffersink_get_frame_flags
(
filter
,
filtered_frame
,
AV_BUFFERSINK_FLAG_NO_REQUEST
);
AV_BUFFERSINK_FLAG_NO_REQUEST
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
...
...
libavcodec/mpegvideo_enc.c
View file @
f9614891
...
@@ -342,7 +342,7 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx)
...
@@ -342,7 +342,7 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx)
s
->
rtp_mode
=
!!
avctx
->
rtp_payload_size
;
s
->
rtp_mode
=
!!
avctx
->
rtp_payload_size
;
s
->
intra_dc_precision
=
avctx
->
intra_dc_precision
;
s
->
intra_dc_precision
=
avctx
->
intra_dc_precision
;
// workaround some differences between how applications specify dc precis
s
ion
// workaround some differences between how applications specify dc precision
if
(
s
->
intra_dc_precision
<
0
)
{
if
(
s
->
intra_dc_precision
<
0
)
{
s
->
intra_dc_precision
+=
8
;
s
->
intra_dc_precision
+=
8
;
}
else
if
(
s
->
intra_dc_precision
>=
8
)
}
else
if
(
s
->
intra_dc_precision
>=
8
)
...
...
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