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
c8dffc02
Commit
c8dffc02
authored
Dec 11, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf doxy: add av_guess_codec/format to the encoding group.
parent
469c62d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
23 deletions
+24
-23
avformat.h
libavformat/avformat.h
+24
-23
No files found.
libavformat/avformat.h
View file @
c8dffc02
...
...
@@ -1212,29 +1212,6 @@ AVProgram *av_new_program(AVFormatContext *s, int id);
attribute_deprecated
enum
CodecID
av_guess_image2_codec
(
const
char
*
filename
);
#endif
/**
* Return the output format in the list of registered output formats
* which best matches the provided parameters, or return NULL if
* there is no match.
*
* @param short_name if non-NULL checks if short_name matches with the
* names of the registered formats
* @param filename if non-NULL checks if filename terminates with the
* extensions of the registered formats
* @param mime_type if non-NULL checks if mime_type matches with the
* MIME type of the registered formats
*/
AVOutputFormat
*
av_guess_format
(
const
char
*
short_name
,
const
char
*
filename
,
const
char
*
mime_type
);
/**
* Guess the codec ID based upon muxer and filename.
*/
enum
CodecID
av_guess_codec
(
AVOutputFormat
*
fmt
,
const
char
*
short_name
,
const
char
*
filename
,
const
char
*
mime_type
,
enum
AVMediaType
type
);
/**
* Send a nice hexadecimal dump of a buffer to the specified file stream.
*
...
...
@@ -1785,6 +1762,30 @@ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
* @return 0 if OK, AVERROR_xxx on error
*/
int
av_write_trailer
(
AVFormatContext
*
s
);
/**
* Return the output format in the list of registered output formats
* which best matches the provided parameters, or return NULL if
* there is no match.
*
* @param short_name if non-NULL checks if short_name matches with the
* names of the registered formats
* @param filename if non-NULL checks if filename terminates with the
* extensions of the registered formats
* @param mime_type if non-NULL checks if mime_type matches with the
* MIME type of the registered formats
*/
AVOutputFormat
*
av_guess_format
(
const
char
*
short_name
,
const
char
*
filename
,
const
char
*
mime_type
);
/**
* Guess the codec ID based upon muxer and filename.
*/
enum
CodecID
av_guess_codec
(
AVOutputFormat
*
fmt
,
const
char
*
short_name
,
const
char
*
filename
,
const
char
*
mime_type
,
enum
AVMediaType
type
);
/**
* @}
*/
...
...
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