Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
c27fc644
Commit
c27fc644
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11727 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c82fbf7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
flicvideo.c
libavcodec/flicvideo.c
+4
-4
No files found.
libavcodec/flicvideo.c
View file @
c27fc644
...
@@ -127,7 +127,7 @@ static int flic_decode_init(AVCodecContext *avctx)
...
@@ -127,7 +127,7 @@ static int flic_decode_init(AVCodecContext *avctx)
static
int
flic_decode_frame_8BPP
(
AVCodecContext
*
avctx
,
static
int
flic_decode_frame_8BPP
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
FlicDecodeContext
*
s
=
avctx
->
priv_data
;
FlicDecodeContext
*
s
=
avctx
->
priv_data
;
...
@@ -427,7 +427,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx,
...
@@ -427,7 +427,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx,
static
int
flic_decode_frame_15_16BPP
(
AVCodecContext
*
avctx
,
static
int
flic_decode_frame_15_16BPP
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
/* Note, the only difference between the 15Bpp and 16Bpp */
/* Note, the only difference between the 15Bpp and 16Bpp */
/* Format is the pixel format, the packets are processed the same. */
/* Format is the pixel format, the packets are processed the same. */
...
@@ -692,7 +692,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
...
@@ -692,7 +692,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
static
int
flic_decode_frame_24BPP
(
AVCodecContext
*
avctx
,
static
int
flic_decode_frame_24BPP
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"24Bpp FLC Unsupported due to lack of test files.
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"24Bpp FLC Unsupported due to lack of test files.
\n
"
);
return
-
1
;
return
-
1
;
...
@@ -700,7 +700,7 @@ static int flic_decode_frame_24BPP(AVCodecContext *avctx,
...
@@ -700,7 +700,7 @@ static int flic_decode_frame_24BPP(AVCodecContext *avctx,
static
int
flic_decode_frame
(
AVCodecContext
*
avctx
,
static
int
flic_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
if
(
avctx
->
pix_fmt
==
PIX_FMT_PAL8
)
{
if
(
avctx
->
pix_fmt
==
PIX_FMT_PAL8
)
{
return
flic_decode_frame_8BPP
(
avctx
,
data
,
data_size
,
return
flic_decode_frame_8BPP
(
avctx
,
data
,
data_size
,
...
...
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