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
cf85a20d
Commit
cf85a20d
authored
Feb 21, 2016
by
Mats Peterson
Committed by
Michael Niedermayer
Feb 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/rawdec: Align AV_PIX_FMT_RGB24 correctly
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
3a4232a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
rawdec.c
libavcodec/rawdec.c
+6
-5
No files found.
libavcodec/rawdec.c
View file @
cf85a20d
...
...
@@ -384,11 +384,12 @@ static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame,
}
}
if
((
avctx
->
pix_fmt
==
AV_PIX_FMT_BGR24
||
avctx
->
pix_fmt
==
AV_PIX_FMT_GRAY8
||
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB555LE
||
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB555BE
||
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB565LE
||
if
((
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB24
||
avctx
->
pix_fmt
==
AV_PIX_FMT_BGR24
||
avctx
->
pix_fmt
==
AV_PIX_FMT_GRAY8
||
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB555LE
||
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB555BE
||
avctx
->
pix_fmt
==
AV_PIX_FMT_RGB565LE
||
avctx
->
pix_fmt
==
AV_PIX_FMT_MONOWHITE
||
avctx
->
pix_fmt
==
AV_PIX_FMT_MONOBLACK
||
avctx
->
pix_fmt
==
AV_PIX_FMT_PAL8
)
&&
...
...
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