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
8aecec84
Commit
8aecec84
authored
Aug 05, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsvdec: make ff_qsv_decode_init() static
It is not used outside of qsvdec.c anymore.
parent
539e5ac2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
qsvdec.c
libavcodec/qsvdec.c
+2
-2
qsvdec.h
libavcodec/qsvdec.h
+0
-2
No files found.
libavcodec/qsvdec.c
View file @
8aecec84
...
...
@@ -70,7 +70,7 @@ static int qsv_init_session(AVCodecContext *avctx, QSVContext *q, mfxSession ses
return
0
;
}
int
ff_
qsv_decode_init
(
AVCodecContext
*
avctx
,
QSVContext
*
q
,
mfxSession
session
)
static
int
qsv_decode_init
(
AVCodecContext
*
avctx
,
QSVContext
*
q
,
mfxSession
session
)
{
mfxVideoParam
param
=
{
{
0
}
};
int
ret
;
...
...
@@ -413,7 +413,7 @@ int ff_qsv_process_data(AVCodecContext *avctx, QSVContext *q,
q
->
nb_ext_buffers
=
user_ctx
->
nb_ext_buffers
;
}
ret
=
ff_
qsv_decode_init
(
avctx
,
q
,
session
);
ret
=
qsv_decode_init
(
avctx
,
q
,
session
);
if
(
ret
<
0
)
goto
reinit_fail
;
}
...
...
libavcodec/qsvdec.h
View file @
8aecec84
...
...
@@ -67,8 +67,6 @@ typedef struct QSVContext {
int
ff_qsv_map_pixfmt
(
enum
AVPixelFormat
format
);
int
ff_qsv_decode_init
(
AVCodecContext
*
s
,
QSVContext
*
q
,
mfxSession
session
);
int
ff_qsv_process_data
(
AVCodecContext
*
avctx
,
QSVContext
*
q
,
AVFrame
*
frame
,
int
*
got_frame
,
AVPacket
*
pkt
);
...
...
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