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
3c26ce46
Commit
3c26ce46
authored
Jul 03, 2018
by
Zhong Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/qsv: handle MFX_FRAMETYPE_UNKNOWN case
Signed-off-by:
Zhong Li
<
zhong.li@intel.com
>
parent
3ce40343
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
qsv.c
libavcodec/qsv.c
+4
-1
No files found.
libavcodec/qsv.c
View file @
3c26ce46
...
...
@@ -198,7 +198,7 @@ int ff_qsv_find_surface_idx(QSVFramesContext *ctx, QSVFrame *frame)
enum
AVPictureType
ff_qsv_map_pictype
(
int
mfx_pic_type
)
{
enum
AVPictureType
type
=
AV_PICTURE_TYPE_NONE
;
enum
AVPictureType
type
;
switch
(
mfx_pic_type
&
0x7
)
{
case
MFX_FRAMETYPE_I
:
if
(
mfx_pic_type
&
MFX_FRAMETYPE_S
)
...
...
@@ -215,6 +215,9 @@ enum AVPictureType ff_qsv_map_pictype(int mfx_pic_type)
else
type
=
AV_PICTURE_TYPE_P
;
break
;
case
MFX_FRAMETYPE_UNKNOWN
:
type
=
AV_PICTURE_TYPE_NONE
;
break
;
default:
av_assert0
(
0
);
}
...
...
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