mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-26 06:05:06 +00:00
lavf: const correctness for avformat_new_stream
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
e3ba817b95
commit
e12cfd044c
@ -1311,7 +1311,7 @@ const AVClass *avformat_get_class(void);
|
||||
*
|
||||
* @return newly created stream or NULL on error.
|
||||
*/
|
||||
AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c);
|
||||
AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c);
|
||||
|
||||
AVProgram *av_new_program(AVFormatContext *s, int id);
|
||||
|
||||
|
@ -3101,7 +3101,7 @@ AVStream *av_new_stream(AVFormatContext *s, int id)
|
||||
}
|
||||
#endif
|
||||
|
||||
AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c)
|
||||
AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c)
|
||||
{
|
||||
AVStream *st;
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user