avcodec: use AV_OPT_TYPE_BOOL in a bunch of places

This commit is contained in:
Clément Bœsch 2015-11-21 22:04:39 +01:00
parent a611375db5
commit fb99ef0bd3
29 changed files with 59 additions and 59 deletions

View file

@ -2766,8 +2766,8 @@ static const AVProfile mpeg4_video_profiles[] = {
};
static const AVOption mpeg4_options[] = {
{"quarter_sample", "1/4 subpel MC", offsetof(MpegEncContext, quarter_sample), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, 0},
{"divx_packed", "divx style packed b frames", offsetof(MpegEncContext, divx_packed), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, 0},
{"quarter_sample", "1/4 subpel MC", offsetof(MpegEncContext, quarter_sample), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, 0},
{"divx_packed", "divx style packed b frames", offsetof(MpegEncContext, divx_packed), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, 0},
{NULL}
};