History

lavc/ass_split: add ff_ prefix to ass_style_get().

Clément Bœsch committed 14 years ago

Commit d214e5c1 parent 74434d33 files · +3 −3Browse files

Unified · Split

3 files
  1. libavcodec/ass_split.c +1 −1
  2. libavcodec/ass_split.h +1 −1
  3. libavcodec/srtenc.c +1 −1
libavcodec/ass_split.c+1−1
@@ -456,7 +456,7 @@ int ff_ass_split_override_codes(const ASSCodesCallbacks *callbacks, void *priv, · 455 unmodified lines
456 return 0;456 return 0;
457}457}
458 458
459ASSStyle *ass_style_get(ASSSplitContext *ctx, const char *style)459ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style)
460{460{
461 ASS *ass = &ctx->ass;461 ASS *ass = &ctx->ass;
462 int i;462 int i;
libavcodec/ass_split.h+1−1
@@ -167,6 +167,6 @@ int ff_ass_split_override_codes(const ASSCodesCallbacks *callbacks, void *priv, · 166 unmodified lines
167 * @param style name of the style to search for.167 * @param style name of the style to search for.
168 * @return the ASSStyle corresponding to style, or NULL if style can't be found168 * @return the ASSStyle corresponding to style, or NULL if style can't be found
169 */169 */
170ASSStyle *ass_style_get(ASSSplitContext *ctx, const char *style);170ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style);
171 171
172#endif /* AVCODEC_ASS_SPLIT_H */172#endif /* AVCODEC_ASS_SPLIT_H */
libavcodec/srtenc.c+1−1
@@ -96,7 +96,7 @@ static void srt_stack_push_pop(SRTContext *s, const char c, int close) · 95 unmodified lines
96 96
97static void srt_style_apply(SRTContext *s, const char *style)97static void srt_style_apply(SRTContext *s, const char *style)
98{98{
99 ASSStyle *st = ass_style_get(s->ass_ctx, style);99 ASSStyle *st = ff_ass_style_get(s->ass_ctx, style);
100 if (st) {100 if (st) {
101 int c = st->primary_color & 0xFFFFFF;101 int c = st->primary_color & 0xFFFFFF;
102 if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT) ||102 if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT) ||

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t