The dwFlags field in idx1 chunks can have other bits set, too. However, the code in AVI_read_frame() needs it to be equal to 0x10 (which is AVIIF_KEYFRAME from the aviriff.h header).