Skip to content
Snippets Groups Projects
Commit 5c073bbb authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/dvdsubdec: fix VD/SD identifier name


Found-by: Nicholas Robbins <nickrobbins-at-yahoo.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent af181827
No related branches found
No related tags found
No related merge requests found
......@@ -649,9 +649,9 @@ static av_cold int dvdsub_close(AVCodecContext *avctx)
}
#define OFFSET(field) offsetof(DVDSubContext, field)
#define VD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM
static const AVOption options[] = {
{ "palette", "set the global palette", OFFSET(palette_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, VD },
{ "palette", "set the global palette", OFFSET(palette_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, SD },
{ NULL }
};
static const AVClass dvdsub_class = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment