mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avio: always compile avio_printf, rather than on CONFIG_MUXERS
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
d9d86e00b2
commit
eda4cf92d7
@ -924,7 +924,6 @@ URLContext *url_fileno(AVIOContext *s)
|
|||||||
return s->opaque;
|
return s->opaque;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_MUXERS
|
|
||||||
int avio_printf(AVIOContext *s, const char *fmt, ...)
|
int avio_printf(AVIOContext *s, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
@ -937,7 +936,6 @@ int avio_printf(AVIOContext *s, const char *fmt, ...)
|
|||||||
avio_write(s, buf, strlen(buf));
|
avio_write(s, buf, strlen(buf));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif //CONFIG_MUXERS
|
|
||||||
|
|
||||||
#if FF_API_OLD_AVIO
|
#if FF_API_OLD_AVIO
|
||||||
char *url_fgets(AVIOContext *s, char *buf, int buf_size)
|
char *url_fgets(AVIOContext *s, char *buf, int buf_size)
|
||||||
|
Loading…
Reference in New Issue
Block a user