mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-11 05:04:44 +00:00
Merge commit '7215fcf84032118ecd9fb54fb14154d69fea638d'
* commit '7215fcf84032118ecd9fb54fb14154d69fea638d': avformat: Mark AVOutputFormat argument in avformat_query_codec as const Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
57e7d9d929
@ -2584,7 +2584,8 @@ int av_match_ext(const char *filename, const char *extensions);
|
||||
* @return 1 if codec with ID codec_id can be stored in ofmt, 0 if it cannot.
|
||||
* A negative number if this information is not available.
|
||||
*/
|
||||
int avformat_query_codec(AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance);
|
||||
int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id,
|
||||
int std_compliance);
|
||||
|
||||
/**
|
||||
* @defgroup riff_fourcc RIFF FourCCs
|
||||
|
@ -4171,7 +4171,7 @@ int64_t ff_iso8601_to_unix_time(const char *datestr)
|
||||
return av_timegm(&time1);
|
||||
}
|
||||
|
||||
int avformat_query_codec(AVOutputFormat *ofmt, enum AVCodecID codec_id,
|
||||
int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id,
|
||||
int std_compliance)
|
||||
{
|
||||
if (ofmt) {
|
||||
|
Loading…
Reference in New Issue
Block a user