diff options
Diffstat (limited to 'libhb/muxavi.c')
-rw-r--r-- | libhb/muxavi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxavi.c b/libhb/muxavi.c index de377f692..92ec80668 100644 --- a/libhb/muxavi.c +++ b/libhb/muxavi.c @@ -482,7 +482,7 @@ static int AVIMux( hb_mux_object_t * m, hb_mux_data_t * mux_data, /* Update index */ IndexAddInt32( m->index, mux_data->fourcc ); - IndexAddInt32( m->index, buf->key ? AVIIF_KEYFRAME : 0 ); + IndexAddInt32( m->index, (buf->frametype & HB_FRAME_KEY) ? AVIIF_KEYFRAME : 0 ); IndexAddInt32( m->index, 4 + m->size ); IndexAddInt32( m->index, buf->size ); |