avformat: use AV_OPT_TYPE_BOOL in a bunch of places

This commit is contained in:
Clément Bœsch
2015-11-21 22:05:07 +01:00
parent 0e62b5d1ef
commit 43ecec0f03
39 changed files with 80 additions and 80 deletions

View File

@@ -3514,7 +3514,7 @@ static int webm_dash_manifest_read_packet(AVFormatContext *s, AVPacket *pkt)
#define OFFSET(x) offsetof(MatroskaDemuxContext, x)
static const AVOption options[] = {
{ "live", "flag indicating that the input is a live file that only has the headers.", OFFSET(is_live), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM },
{ "live", "flag indicating that the input is a live file that only has the headers.", OFFSET(is_live), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
};