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
456456 return 0;
457457 }
458458
459−ASSStyle *ass_style_get(ASSSplitContext *ctx, const char *style)
459+ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style)
460460 {
461461 ASS *ass = &ctx->ass;
462462 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
167167 * @param style name of the style to search for.
168168 * @return the ASSStyle corresponding to style, or NULL if style can't be found
169169 */
170−ASSStyle *ass_style_get(ASSSplitContext *ctx, const char *style);
170+ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style);
171171
172172 #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
9696
9797 static void srt_style_apply(SRTContext *s, const char *style)
9898 {
99− ASSStyle *st = ass_style_get(s->ass_ctx, style);
99+ ASSStyle *st = ff_ass_style_get(s->ass_ctx, style);
100100 if (st) {
101101 int c = st->primary_color & 0xFFFFFF;
102102 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