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
d84429d4
Commit
d84429d4
authored
May 12, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnxhd: Print unknown header when found
parent
8fc11abe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dnxhddec.c
libavcodec/dnxhddec.c
+3
-1
No files found.
libavcodec/dnxhddec.c
View file @
d84429d4
...
...
@@ -119,7 +119,9 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
}
if
(
memcmp
(
buf
,
header_prefix
,
5
)
&&
memcmp
(
buf
,
header_prefix444
,
5
))
{
av_log
(
ctx
->
avctx
,
AV_LOG_ERROR
,
"error in header
\n
"
);
av_log
(
ctx
->
avctx
,
AV_LOG_ERROR
,
"unknown header 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X
\n
"
,
buf
[
0
],
buf
[
1
],
buf
[
2
],
buf
[
3
],
buf
[
4
]);
return
AVERROR_INVALIDDATA
;
}
if
(
buf
[
5
]
&
2
)
{
/* interlaced */
...
...
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