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
1fec720a
Commit
1fec720a
authored
Apr 05, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/cinedec: ask for sample when biBitCount isnt supported
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
47b03415
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cinedec.c
libavformat/cinedec.c
+3
-1
No files found.
libavformat/cinedec.c
View file @
1fec720a
...
...
@@ -125,8 +125,10 @@ static int cine_read_header(AVFormatContext *avctx)
return
AVERROR_INVALIDDATA
;
biBitCount
=
avio_rl16
(
pb
);
if
(
biBitCount
!=
8
&&
biBitCount
!=
16
&&
biBitCount
!=
24
&&
biBitCount
!=
48
)
if
(
biBitCount
!=
8
&&
biBitCount
!=
16
&&
biBitCount
!=
24
&&
biBitCount
!=
48
)
{
avpriv_request_sample
(
avctx
,
"unsupported biBitCount %i"
,
biBitCount
);
return
AVERROR_INVALIDDATA
;
}
switch
(
avio_rl32
(
pb
))
{
case
BMP_RGB
:
...
...
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