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.
|
* @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);
|
AVProgram *av_new_program(AVFormatContext *s, int id);
|
||||||
|
|
||||||
|
@ -3101,7 +3101,7 @@ AVStream *av_new_stream(AVFormatContext *s, int id)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c)
|
AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c)
|
||||||
{
|
{
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user