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
719276b8
Commit
719276b8
authored
Mar 06, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/cfhd: Sanitize avpriv_report_missing_feature() usage.
parent
1109ed79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cfhd.c
libavcodec/cfhd.c
+3
-3
No files found.
libavcodec/cfhd.c
View file @
719276b8
...
...
@@ -333,7 +333,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Sample type? %"
PRIu16
"
\n
"
,
data
);
else
if
(
tag
==
10
)
{
if
(
data
!=
0
)
{
avpriv_report_missing_feature
(
avctx
,
"Transform type of %"
PRIu16
" is unsupported
\n
"
,
data
);
avpriv_report_missing_feature
(
avctx
,
"Transform type of %"
PRIu16
,
data
);
ret
=
AVERROR_PATCHWELCOME
;
break
;
}
...
...
@@ -343,7 +343,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
bytestream2_skipu
(
&
gb
,
data
*
4
);
}
else
if
(
tag
==
23
)
{
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Skip frame
\n
"
);
avpriv_report_missing_feature
(
avctx
,
"Skip frame
not supported
\n
"
);
avpriv_report_missing_feature
(
avctx
,
"Skip frame
\n
"
);
ret
=
AVERROR_PATCHWELCOME
;
break
;
}
else
if
(
tag
==
2
)
{
...
...
@@ -415,7 +415,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
else
if
(
data
==
4
)
s
->
coded_format
=
AV_PIX_FMT_GBRAP12
;
else
{
avpriv_report_missing_feature
(
avctx
,
"Sample format of %"
PRIu16
" is unsupported
\n
"
,
data
);
avpriv_report_missing_feature
(
avctx
,
"Sample format of %"
PRIu16
,
data
);
ret
=
AVERROR_PATCHWELCOME
;
break
;
}
...
...
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