[FFmpeg-cvslog] lavc/ass_split: add ff_ prefix to ass_style_get().
Clément Bœsch
git at videolan.org
Sun Sep 16 04:37:36 CEST 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Sep 16 03:05:01 2012 +0200| [d214e5cfb414ea2b8cbcf3c4300288b130388d4a] | committer: Clément Bœsch
lavc/ass_split: add ff_ prefix to ass_style_get().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d214e5cfb414ea2b8cbcf3c4300288b130388d4a
---
libavcodec/ass_split.c | 2 +-
libavcodec/ass_split.h | 2 +-
libavcodec/srtenc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/ass_split.c b/libavcodec/ass_split.c
index 81d501e..7ee48b4 100644
--- a/libavcodec/ass_split.c
+++ b/libavcodec/ass_split.c
@@ -456,7 +456,7 @@ int ff_ass_split_override_codes(const ASSCodesCallbacks *callbacks, void *priv,
return 0;
}
-ASSStyle *ass_style_get(ASSSplitContext *ctx, const char *style)
+ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style)
{
ASS *ass = &ctx->ass;
int i;
diff --git a/libavcodec/ass_split.h b/libavcodec/ass_split.h
index 2ce4eb5..7a6a75e 100644
--- a/libavcodec/ass_split.h
+++ b/libavcodec/ass_split.h
@@ -167,6 +167,6 @@ int ff_ass_split_override_codes(const ASSCodesCallbacks *callbacks, void *priv,
* @param style name of the style to search for.
* @return the ASSStyle corresponding to style, or NULL if style can't be found
*/
-ASSStyle *ass_style_get(ASSSplitContext *ctx, const char *style);
+ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style);
#endif /* AVCODEC_ASS_SPLIT_H */
diff --git a/libavcodec/srtenc.c b/libavcodec/srtenc.c
index dfc4e6c..fa85ef5 100644
--- a/libavcodec/srtenc.c
+++ b/libavcodec/srtenc.c
@@ -96,7 +96,7 @@ static void srt_stack_push_pop(SRTContext *s, const char c, int close)
static void srt_style_apply(SRTContext *s, const char *style)
{
- ASSStyle *st = ass_style_get(s->ass_ctx, style);
+ ASSStyle *st = ff_ass_style_get(s->ass_ctx, style);
if (st) {
int c = st->primary_color & 0xFFFFFF;
if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT) ||
More information about the ffmpeg-cvslog
mailing list