Skip to content

Commit

Permalink
avio: always compile avio_printf, rather than on CONFIG_MUXERS
Browse files Browse the repository at this point in the history
Signed-off-by: Ronald S. Bultje <[email protected]>
  • Loading branch information
elenril authored and rbultje committed Mar 17, 2011
1 parent d9d86e0 commit eda4cf9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libavformat/aviobuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,6 @@ URLContext *url_fileno(AVIOContext *s)
return s->opaque;
}

#if CONFIG_MUXERS
int avio_printf(AVIOContext *s, const char *fmt, ...)
{
va_list ap;
Expand All @@ -937,7 +936,6 @@ int avio_printf(AVIOContext *s, const char *fmt, ...)
avio_write(s, buf, strlen(buf));
return ret;
}
#endif //CONFIG_MUXERS

#if FF_API_OLD_AVIO
char *url_fgets(AVIOContext *s, char *buf, int buf_size)
Expand Down

0 comments on commit eda4cf9

Please sign in to comment.