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
6dd5da3f
Commit
6dd5da3f
authored
Mar 09, 2020
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/decode: remove unused AVCodecInternal compat_decode field
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
c76b2bf0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
decode.c
libavcodec/decode.c
+0
-1
internal.h
libavcodec/internal.h
+0
-2
No files found.
libavcodec/decode.c
View file @
6dd5da3f
...
...
@@ -736,7 +736,6 @@ static int compat_decode(AVCodecContext *avctx, AVFrame *frame,
}
*
got_frame
=
0
;
avci
->
compat_decode
=
1
;
if
(
avci
->
compat_decode_partial_size
>
0
&&
avci
->
compat_decode_partial_size
!=
pkt
->
size
)
{
...
...
libavcodec/internal.h
View file @
6dd5da3f
...
...
@@ -173,8 +173,6 @@ typedef struct AVCodecInternal {
int
buffer_pkt_valid
;
// encoding: packet without data can be valid
AVFrame
*
buffer_frame
;
int
draining_done
;
/* set to 1 when the caller is using the old decoding API */
int
compat_decode
;
int
compat_decode_warned
;
/* this variable is set by the decoder internals to signal to the old
* API compat wrappers the amount of data consumed from the last packet */
...
...
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