You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat: Mark AVOutputFormat argument in avformat_query_codec as const
This commit is contained in:
@@ -1911,7 +1911,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.
|
* @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.
|
* 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
|
* @defgroup riff_fourcc RIFF FourCCs
|
||||||
|
@@ -3049,7 +3049,7 @@ int64_t ff_iso8601_to_unix_time(const char *datestr)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int avformat_query_codec(AVOutputFormat *ofmt, enum AVCodecID codec_id,
|
int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id,
|
||||||
int std_compliance)
|
int std_compliance)
|
||||||
{
|
{
|
||||||
if (ofmt) {
|
if (ofmt) {
|
||||||
|
Reference in New Issue
Block a user