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
990e2f35
Commit
990e2f35
authored
Aug 04, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: Suppress deprecation warnings from DTG code scheduled for removal
parent
086a5418
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
mpeg12dec.c
libavcodec/mpeg12dec.c
+2
-0
pthread_frame.c
libavcodec/pthread_frame.c
+6
-0
No files found.
libavcodec/mpeg12dec.c
View file @
990e2f35
...
...
@@ -2250,7 +2250,9 @@ static void mpeg_decode_user_data(AVCodecContext *avctx,
if
(
buf_end
-
p
<
1
)
return
;
#if FF_API_AFD
FF_DISABLE_DEPRECATION_WARNINGS
avctx
->
dtg_active_format
=
p
[
0
]
&
0x0f
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
/* FF_API_AFD */
s1
->
has_afd
=
1
;
s1
->
afd
=
p
[
0
]
&
0x0f
;
...
...
libavcodec/pthread_frame.c
View file @
990e2f35
...
...
@@ -36,12 +36,14 @@
#include "internal.h"
#include "pthread_internal.h"
#include "thread.h"
#include "version.h"
#include "libavutil/avassert.h"
#include "libavutil/buffer.h"
#include "libavutil/common.h"
#include "libavutil/cpu.h"
#include "libavutil/frame.h"
#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
...
...
@@ -188,7 +190,11 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
dst
->
bits_per_coded_sample
=
src
->
bits_per_coded_sample
;
dst
->
sample_aspect_ratio
=
src
->
sample_aspect_ratio
;
#if FF_API_AFD
FF_DISABLE_DEPRECATION_WARNINGS
dst
->
dtg_active_format
=
src
->
dtg_active_format
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
/* FF_API_AFD */
dst
->
profile
=
src
->
profile
;
dst
->
level
=
src
->
level
;
...
...
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