summaryrefslogtreecommitdiff
path: root/libavcodec/dvdsubdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-19 23:46:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-19 23:47:20 +0200
commit5c073bbb57b5698a559e90dfbbb0346e663414cb (patch)
treebb1b164877c932db48283dcdeba47224d69f5b86 /libavcodec/dvdsubdec.c
parentaf1818276ef271af98e2e2bbabb4dc875b4fa7d8 (diff)
downloadffmpeg-5c073bbb57b5698a559e90dfbbb0346e663414cb.tar.gz
avcodec/dvdsubdec: fix VD/SD identifier name
Found-by: Nicholas Robbins <nickrobbins-at-yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r--libavcodec/dvdsubdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index 7355c03ec2..c7973f05aa 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -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 = {