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
84ce58fa
Commit
84ce58fa
authored
Jan 04, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.
Found-by: Paul B Mahol
parent
17edc370
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
v308dec.c
libavcodec/v308dec.c
+1
-1
v308enc.c
libavcodec/v308enc.c
+1
-1
yuv4dec.c
libavcodec/yuv4dec.c
+1
-1
yuv4enc.c
libavcodec/yuv4enc.c
+1
-1
No files found.
libavcodec/v308dec.c
View file @
84ce58fa
...
...
@@ -62,7 +62,7 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data,
}
pic
->
key_frame
=
1
;
pic
->
pict_type
=
FF_I_TYPE
;
pic
->
pict_type
=
AV_PICTURE_TYPE_I
;
y
=
pic
->
data
[
0
];
u
=
pic
->
data
[
1
];
...
...
libavcodec/v308enc.c
View file @
84ce58fa
...
...
@@ -56,7 +56,7 @@ static int v308_encode_frame(AVCodecContext *avctx, uint8_t *buf,
avctx
->
coded_frame
->
reference
=
0
;
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
FF_I_TYPE
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
y
=
pic
->
data
[
0
];
u
=
pic
->
data
[
1
];
...
...
libavcodec/yuv4dec.c
View file @
84ce58fa
...
...
@@ -60,7 +60,7 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
}
pic
->
key_frame
=
1
;
pic
->
pict_type
=
FF_I_TYPE
;
pic
->
pict_type
=
AV_PICTURE_TYPE_I
;
y
=
pic
->
data
[
0
];
u
=
pic
->
data
[
1
];
...
...
libavcodec/yuv4enc.c
View file @
84ce58fa
...
...
@@ -50,7 +50,7 @@ static int yuv4_encode_frame(AVCodecContext *avctx, uint8_t *buf,
avctx
->
coded_frame
->
reference
=
0
;
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
FF_I_TYPE
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
y
=
pic
->
data
[
0
];
u
=
pic
->
data
[
1
];
...
...
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