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
488eec10
Commit
488eec10
authored
Nov 18, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: update doxy to use nondeprecated API.
parent
f32dfad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
avcodec.h
libavcodec/avcodec.h
+9
-9
No files found.
libavcodec/avcodec.h
View file @
488eec10
...
...
@@ -1199,7 +1199,7 @@ struct AVCodecInternal;
typedef
struct
AVCodecContext
{
/**
* information on struct for av_log
* - set by avcodec_alloc_context
* - set by avcodec_alloc_context
3
*/
const
AVClass
*
av_class
;
/**
...
...
@@ -2897,8 +2897,8 @@ typedef struct AVCodecContext {
* For SUBTITLE_ASS subtitle type, it should contain the whole ASS
* [Script Info] and [V4+ Styles] section, plus the [Events] line and
* the Format line following. It shouldn't include any Dialogue line.
* - encoding: Set/allocated/freed by user (before avcodec_open())
* - decoding: Set/allocated/freed by libavcodec (by avcodec_open())
* - encoding: Set/allocated/freed by user (before avcodec_open
2
())
* - decoding: Set/allocated/freed by libavcodec (by avcodec_open
2
())
*/
uint8_t
*
subtitle_header
;
int
subtitle_header_size
;
...
...
@@ -3725,7 +3725,7 @@ AVCodecContext *avcodec_alloc_context2(enum AVMediaType);
* resulting struct can be deallocated by simply calling av_free().
*
* @param codec if non-NULL, allocate private data and initialize defaults
* for the given codec. It is illegal to then call avcodec_open()
* for the given codec. It is illegal to then call avcodec_open
2
()
* with a different codec.
*
* @return An AVCodecContext filled with default values or NULL on failure.
...
...
@@ -3736,7 +3736,7 @@ AVCodecContext *avcodec_alloc_context3(AVCodec *codec);
/**
* Copy the settings of the source AVCodecContext into the destination
* AVCodecContext. The resulting destination codec context will be
* unopened, i.e. you are required to call avcodec_open() before you
* unopened, i.e. you are required to call avcodec_open
2
() before you
* can use this AVCodecContext to decode/encode video/audio data.
*
* @param dest target codec context, should be initialized with
...
...
@@ -3800,7 +3800,7 @@ enum PixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum
#if FF_API_THREAD_INIT
/**
* @deprecated Set s->thread_count before calling avcodec_open() instead of calling this.
* @deprecated Set s->thread_count before calling avcodec_open
2
() instead of calling this.
*/
attribute_deprecated
int
avcodec_thread_init
(
AVCodecContext
*
s
,
int
thread_count
);
...
...
@@ -3846,7 +3846,7 @@ int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
/**
* Initialize the AVCodecContext to use the given AVCodec. Prior to using this
* function the context has to be allocated with avcodec_alloc_context().
* function the context has to be allocated with avcodec_alloc_context
3
().
*
* The functions avcodec_find_decoder_by_name(), avcodec_find_encoder_by_name(),
* avcodec_find_decoder() and avcodec_find_encoder() provide an easy way for
...
...
@@ -3861,9 +3861,9 @@ int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
* if (!codec)
* exit(1);
*
* context = avcodec_alloc_context
(
);
* context = avcodec_alloc_context
3(codec
);
*
* if (avcodec_open(context, codec, opts) < 0)
* if (avcodec_open
2
(context, codec, opts) < 0)
* exit(1);
* @endcode
*
...
...
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