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
5e577c58
Commit
5e577c58
authored
Nov 10, 2017
by
Aman Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/videotoolbox: fix whitespace
Signed-off-by:
Aman Gupta
<
aman@tmm1.net
>
parent
c8b1a151
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
videotoolbox.c
libavcodec/videotoolbox.c
+2
-2
No files found.
libavcodec/videotoolbox.c
View file @
5e577c58
...
@@ -88,7 +88,7 @@ int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame)
...
@@ -88,7 +88,7 @@ int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame)
CFDataRef
ff_videotoolbox_avcc_extradata_create
(
AVCodecContext
*
avctx
)
CFDataRef
ff_videotoolbox_avcc_extradata_create
(
AVCodecContext
*
avctx
)
{
{
H264Context
*
h
=
avctx
->
priv_data
;
H264Context
*
h
=
avctx
->
priv_data
;
CFDataRef
data
=
NULL
;
CFDataRef
data
=
NULL
;
uint8_t
*
p
;
uint8_t
*
p
;
int
vt_extradata_size
=
6
+
2
+
h
->
ps
.
sps
->
data_size
+
3
+
h
->
ps
.
pps
->
data_size
;
int
vt_extradata_size
=
6
+
2
+
h
->
ps
.
sps
->
data_size
+
3
+
h
->
ps
.
pps
->
data_size
;
...
@@ -897,7 +897,7 @@ static int videotoolbox_start(AVCodecContext *avctx)
...
@@ -897,7 +897,7 @@ static int videotoolbox_start(AVCodecContext *avctx)
case
kVTVideoDecoderMalfunctionErr
:
case
kVTVideoDecoderMalfunctionErr
:
av_log
(
avctx
,
AV_LOG_VERBOSE
,
"VideoToolbox malfunction.
\n
"
);
av_log
(
avctx
,
AV_LOG_VERBOSE
,
"VideoToolbox malfunction.
\n
"
);
return
AVERROR
(
EINVAL
);
return
AVERROR
(
EINVAL
);
case
kVTVideoDecoderBadDataErr
:
case
kVTVideoDecoderBadDataErr
:
av_log
(
avctx
,
AV_LOG_VERBOSE
,
"VideoToolbox reported invalid data.
\n
"
);
av_log
(
avctx
,
AV_LOG_VERBOSE
,
"VideoToolbox reported invalid data.
\n
"
);
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
case
0
:
case
0
:
...
...
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