summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-02-21 12:58:36 +0100
committerClément Bœsch <u@pkh.me>2016-02-26 21:53:34 +0100
commit22ebbda637257a432c99330ca4c6024665418f0e (patch)
tree149ca54d92cc1915326106f1fc8cb1ae04a922c1 /libavcodec/avcodec.h
parentfa2df3a40124bf1d0dc11999f5a578d40a29d553 (diff)
lavc: deprecate decoded ass subtitles with timings
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 695ca053e1..5dc4b73e72 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3291,7 +3291,9 @@ typedef struct AVCodecContext {
int sub_text_format;
#define FF_SUB_TEXT_FMT_ASS 0
+#if FF_API_ASS_TIMING
#define FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS 1
+#endif
/**
* Skip processing alpha if supported by codec.