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
07d1c4ae
Commit
07d1c4ae
authored
Jun 16, 2018
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/dpx: Allow packed 12-bit little-endian images.
Can be tested with GraphicsMagick.
parent
70742f02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
dpx.c
libavcodec/dpx.c
+0
-13
No files found.
libavcodec/dpx.c
View file @
07d1c4ae
...
...
@@ -232,19 +232,6 @@ static int decode_frame(AVCodecContext *avctx,
stride
=
(
avctx
->
width
*
elements
+
2
)
/
3
*
4
;
break
;
case
12
:
if
(
!
packing
)
{
int
tested
=
0
;
if
(
descriptor
==
50
&&
endian
)
{
// Little endian needs tests
tested
=
1
;
}
if
(
descriptor
==
51
&&
endian
)
{
// Little endian needs tests
tested
=
1
;
}
if
(
!
tested
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Packing to 16bit required
\n
"
);
return
-
1
;
}
}
stride
=
avctx
->
width
*
elements
;
if
(
packing
)
{
stride
*=
2
;
...
...
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