Browse Source

avcodec/textdec: use AV_OPT_TYPE_BOOL for keep_ass_markup option

tags/n3.0
Clément Bœsch Clément Bœsch 10 years ago
parent
commit
7a256133ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/textdec.c

+ 1
- 1
libavcodec/textdec.c View File

@@ -37,7 +37,7 @@ typedef struct {
#define OFFSET(x) offsetof(TextContext, x)
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM
static const AVOption options[] = {
{ "keep_ass_markup", "Set if ASS tags must be escaped", OFFSET(keep_ass_markup), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, .flags=SD },
{ "keep_ass_markup", "Set if ASS tags must be escaped", OFFSET(keep_ass_markup), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, .flags=SD },
{ NULL }
};



Loading…
Cancel
Save